CHAPTER 1

image

Hello World

To begin programming in C you need a text editor and a C compiler. You can get both at the same time by installing an Integrated Development Environment (IDE) that includes support for C. A good choice is Microsoft's Visual Studio Community Edition, which is a free version of Visual Studio that is available from Microsoft’s website.1 This IDE has built-in support for the C89 standard and also includes many features of C99 as of the 2013 version.

Some other popular cross-platform IDEs include Eclipse CDT, Code::Blocks, and CodeLite. Alternatively, you can develop using a simple text editor – such as Notepad – although this ...

Get C Quick Syntax Reference 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.