Part 1
The Beginner Path — Core Concepts
Core language fundamentals from Hello World through strings.
- Lesson 1 Hello, World! Welcome to your first lesson in C! The journey to mastering C is challenging but incredibly rewarding. It all begins with this single step.
- Lesson 2 Variables and Data Types In the last lesson, we printed a fixed message. To write useful programs, we need a way to store and manipulate data that can change. This is where…
- Lesson 3 User Input So far, our programs have been one-way streets: they run and print things without any input from the outside world. To build truly useful tools, we…
- Lesson 4 Basic Operators In programming, an OPERATOR is a special symbol that performs an operation on one or more values or variables (called OPERANDS). For example, in 5 +…
- Lesson 5 Conditional Statements Our programs so far have been linear; they execute every line of code from top to bottom in the same order every time. To create powerful and…
- Lesson 6 Loops Imagine you needed to print "Hello!" five times. You could write:
- Lesson 7 Functions As programs grow larger, putting all the code inside the main function becomes messy, hard to read, and difficult to maintain. If you have a task…
- Lesson 8 Arrays So far, we have only used variables that can hold one value at a time. For example, int score = 100;. But what if you need to store the scores for an…
- Lesson 9 Strings Up to this point, we've only seen string "literals" (text in double quotes) used directly in printf. We haven't stored or manipulated them.