Part 2
The Intermediate Path — Deeper into C
Pointers, structs, dynamic memory, file I/O, and command-line arguments.
- Lesson 10 Pointers Welcome to Part 2 of your C journey! You've mastered the fundamentals, and now we're diving deeper. This lesson introduces POINTERS, arguably the…
- Lesson 11 Pointers and Arrays In the previous lesson, you learned what a POINTER is: a variable that stores a memory address. Now, we will explore one of the most important…
- Lesson 12 Structs So far, our variables have held a single piece of data (like an int or a double), and our arrays have held multiple pieces of the SAME type of data.
- Lesson 13 Dynamic Memory Allocation Until now, the size of all our variables and arrays had to be known when we wrote the program (at COMPILE-TIME). For example, int numbers[10]…
- Lesson 14 File I/O All our programs so far have had a temporary existence. When the program ends, any data it was holding in variables, arrays, or structs is lost…
- Lesson 15 Command-Line Arguments You've already been using command-line arguments without even realizing it! When you compile a program like this: