1GETTING STARTED WITH C

Image

In this chapter, you’ll develop your first C program: the traditional “Hello, world!” program. I’ll take you through the various aspects of this simple program, as well as compiling and running a C program. Then I’ll discuss some editor and compiler options, and lay out common portability issues you’ll quickly become familiar with as you code in C.

Developing Your First C Program

The best way to learn C programming is to start writing C programs, and the traditional program to start with is “Hello, world!”

To write this program, you need a text editor or integrated development environment (IDE). There are many to choose ...

Get Effective C now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.