A month of steady practice gets you to a specific place: you can set up a compiler, write and call your own functions, use arrays and strings without guessing, and fix a crash with a debugger. It does not get you to writing a game engine, and that is fine. The plan below is built around twenty to forty minutes a day, five days a week, with one longer session at the weekend for the thing that needs uninterrupted attention.
What four weeks can honestly cover
Expect to finish with a small working program you wrote yourself, not a portfolio. Expect to still look things up constantly — that is normal and does not stop. Expect at least one day where nothing compiles and the lesson is about patience rather than syntax.
| Week | Focus | Proof you did it |
|---|---|---|
| 1 | Toolchain, compiling, variables, input and output | Ten tiny programs that each compile clean |
| 2 | Control flow, functions, arrays | One program with at least three functions |
| 3 | Strings, structs, pointers at a basic level | A program that stores and prints records |
| 4 | Debugging, files, finishing | One program with a README and sample input |
Week one: get the loop working
The first week is about the cycle of edit, compile, run, and read the error. Install a compiler, write the smallest possible program, and build it from the command line so you see the command that does the work. Then vary one thing at a time: print a number, read a number, add two numbers, decide with an if.
Keep every program under twenty lines. The goal is not useful software yet; it is making the feedback loop boring. If you finish the week and compiling no longer feels like an event, the week succeeded.
Week two: put logic in functions
Functions are where C starts to feel like engineering rather than dictation. Take your main and move one block into a function that takes arguments and returns a value. Then call it twice with different input.
Add arrays here, and with them the first genuinely C-shaped idea: an array does not know its own length, so you pass the size alongside it. Practise that pattern until it is automatic, because you will use it for years.
Week three: strings, structs, and one pointer rule
Strings are arrays with a terminator, and most of the week’s value comes from accepting that rather than fighting it. Write a function that counts characters by walking until '\0'. Write one that copies a string into a buffer you sized. Then group related values into a struct and pass it to a function by pointer.
Learn exactly one pointer rule this week: a pointer holds an address, and you get an address with & or from an array name. Resist the urge to learn five rules badly.
Week four: debug, read a file, and stop
Build with -g, break the program on purpose, and step through it once so the debugger stops being scary. Then read a text file line by line with fgets and print what you read. Finally, spend two evenings finishing: rename things, write the README, save a sample input, and leave the program in a state you could hand to someone else.
Do not start a bigger project in the last days of the month. Finishing something small is the skill the whole plan exists to teach, and it is the one most self-taught beginners skip.
If a week slips, drop the extra exercises rather than the weekend session. Consistency across four weeks matters far more than covering every item on this page.