Sams Teach Yourself C in 21 Days

(singke) #1

DAY 1


WEEK 1


Day 1 Getting Started with C


Welcome to the sixth edition of Sams Teach Yourself C in 21 Days!Today’s
lesson starts you toward becoming a proficient C programmer. Today you
will learn:


  • Why C is a great choice among programming languages

  • The steps in the program development cycle

  • How to write, compile, and run your first C program

  • About error messages generated by the compiler and linker


A Brief History of the C Language ........................................................................

You might be wondering about the origin of the C language and where it got its
name. C was created by Dennis Ritchie at the Bell Telephone Laboratories in


  1. The language wasn’t created for the fun of it, but for a specific purpose:
    to design the UNIX operating system (which is used on many computers).
    From the beginning, C was intended to be useful—to allow busy programmers
    to get things done.


03 448201x-CH01 8/13/02 11:14 AM Page 7

Free download pdf