Skip to content

This repository is designed to help me practice and reinforce my understanding of the C programming language by working through the core topics covered in The C Beginner's Handbook, written by Flavio Copes.

Notifications You must be signed in to change notification settings

Strako/c-practice

Repository files navigation

C Practice Repository: Based on The C Beginner's Handbook by Flavio Copes

Welcome! This repository is designed to help me practice and reinforce my understanding of the C programming language by working through the core topics covered in The C Beginner's Handbook, written by Flavio Copes.

The book follows the 80/20 rule: learn 80% of the language in 20% of the time. It focuses on practical, essential concepts without overwhelming with edge cases or overly advanced topics.


📚 Table of Contents

Each topic below is (or will be) implemented as a folder in this repository. Some folders might group related topics for simplicity.

  1. Introduction to C
  2. ✔️Variables and Types, Constants
  3. ✔️Operators
  4. ✔️Conditionals
  5. Loops
  6. Arrays
  7. Strings
  8. Pointers
  9. Functions
  10. Input and Output
  11. Variable Scope
  12. Static Variables
  13. Global Variables
  14. Type Definitions
  15. Enumerated Types
  16. Structures
  17. Command Line Parameters
  18. Header Files
  19. The Preprocessor
  20. Conclusion --

🎯 Purpose

  • Practice and solidify C programming concepts by writing small, focused programs.
  • Organize code examples into logically separated folders.
  • Prepare myself to understand more robust C code and start making homebrew for retro hardware or embeded systems.

🔧 How to Use

Each folder:

  • Contains a focused .c file (or multiple) practicing the topic.
  • Is self-contained and can be compiled with gcc or any standard C compiler.

Example:

cd 05-loops
gcc loops.c -o loops
./loops

💻 How to run all files imported on /main.c

  • The Makefile placed in the root folde rof the project contains wildcard to recursively compile one of each .c files in the project, just do:
make

About

This repository is designed to help me practice and reinforce my understanding of the C programming language by working through the core topics covered in The C Beginner's Handbook, written by Flavio Copes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published