O'Reilly logo

Learn C on the Mac: For OS X and iOS, Second Edition by James Bucanek, David Mark Scott Brown

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    2

Programming Basics

Before we dig into C programming specifics, let’s spend a few minutes discussing the basics of programming. Why write a computer program? How do computer programs work? We’ll answer these questions and look at all of the elements that come together to create a computer program, such as source code, a compiler, and the computer itself.

If you are already familiar with the basics of programming, please feel free to skim through this chapter and, if you feel comfortable with the material, skip on ahead to Chapter 3. The goal here is to get you familiar with the steps involved in creating a running a simple program.

Programming

Why write a computer program? There are many reasons. Some programs are written in direct ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required