Welcome to Hello C!
This repository serves as a personal archive for my C programming studies. Here, I document my progress, code exercises, and mini-projects as I learn the language from scratch.
All materials in this repository cover the following concepts:
- Basics: Comments, Escape Sequences.
- Variables: Data Types (int, float, char), Format Specifiers, Constants.
- Operators: Arithmetic, Augmented Assignment, Logical (AND, OR, NOT).
- User Input: Using
scanf()andfgets(). - Math Functions: Square root, power, round, etc.
- Control Flow: If statements, Switch statements.
- Loops: For loops, While loops, Do-While loops, Nested loops.
- Functions: Arguments, Return statements, Ternary operator.
- Function Prototypes: Declaration vs Definition.
- String Handling: String functions and methods.
- Arrays: 1D Arrays, 2D Arrays, Iterating through arrays.
- Array of Strings: Managing lists of text.
- Sorting: Bubble sort implementation.
- Structs & Enums: Creating custom data types using
structandtypedef.
- Memory: Understanding Memory Addresses.
- Pointers: Working with pointers and references.
- Bitwise Operators: Low-level bit manipulation.
- File Handling: Writing to and reading from files.
List of mini-projects and games developed during the learning process:
- Circle Circumference: Calculating circle properties.
- Hypotenuse Calculator: Finding the hypotenuse of a triangle.
- Temperature Converter: Celsius to Fahrenheit conversion.
- Simple Calculator: Basic arithmetic operations.
- Number Guessing Game: Random number generation logic.
- Quiz Game: A multiple-choice console game.
- Tic Tac Toe: A complete console-based game against the computer.
Ensure you have a GCC compiler installed.
- Clone this repository:
git clone [https://github.com/your-username/hello-c.git](https://github.com/your-username/hello-c.git)