aboutsummaryrefslogtreecommitdiff
We are going to start right away writing simple programs as we explore the fundamentals of not only C but also general programming. This part contains the following chapters: • Chapter 1, Running Hello, World • Chapter 2, Understanding Program Structure • Chapter 3, Working with Basic Data Types • Chapter 4, Using Variables and Assignments • Chapter 5, Exploring Operators and Expressions • Chapter 6, Exploring Conditional Program Flow • Chapter 7, Exploring Loops and Iterations • Chapter 8, Creating and Using Enumerations Chapter 1 In this chapter, we will cover the following topics: • Writing your first C program • Understanding the program development cycle • Creating, typing into a text editor, and saving your C program • Compiling your first C program • Running your program, verifying its result, and, if necessary, fixing it • Exploring different commenting styles and using them • Employing guided chaos, followed by careful observation for deeper learning The knowledge gained with these topics will be essential for further progress. So, let's get started! Chapter 2 The following topics will be covered in this chapter: • Introducing statements and blocks • Introducing functions • Understanding function definitions • Order of execution • Understanding function declarations By the end of this chapter, you will have a solid foundation to create and use function statements.