Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
C for Game Dev - Part 1
·
Module 1
C Fundamentals & Tooling
1
Compiling C with GCC: Warnings and Errors
Compile C programs from the command line using gcc with standard warning flags (-Wall, -Wextra, -Werror).
2
Modular C Programming: Files and Organization
Explain the purpose of separating a C program into multiple source (.c) and header (.h) files.
3
Header Guards: Preventing Multiple Inclusion
Use header guards to prevent multiple inclusion errors.
4
C Integer Types: Sizes and `sizeof` Verification
Explain C integer types (short, int, long, unsigned), their sizes, and verify with sizeof.
5
Integer Overflow: Signed vs. Unsigned Behavior
Predict and handle integer overflow behavior for signed and unsigned types.
6
Implicit Conversions and Integer Promotions in C
Identify implicit type conversions and integer promotions in C expressions.
7
Building a Number Game with Loops, Conditionals, and Functions
Write a number-based game (e.g., dice roller) using loops, conditionals, and functions as a warm-up.
Previous module
Next module
Pointers & Memory Inspection