Skip to content

OguzhanCaglar/C-Lectures

Repository files navigation

C Programming Lessons Repository

Welcome to the C Programming Lessons repository! This repository contains code, examples, and resources for various topics covered in a C programming course. Each lecture is organized into specific topics, covering fundamental to advanced concepts.

📚 Course Overview

Lecture Topic Description
Lecture 1 Introduction to Computer and Programming Overview of computers, programming basics, and getting started with C programming.
Lecture 2 Binary, Octal, and Hexadecimal Codes Understanding number systems, data types, and basic operators in C.
Lecture 3 Sequential and Conditional Control Using if, if-else, and switch statements for decision-making in programs.
Lecture 4 Loops Iterative structures like for, while, and do-while loops.
Lecture 5 Functions and Macros Creating reusable code with functions, macros, and understanding scope.
Lecture 6 Array and String Handling arrays, strings, and their operations in C.
Lecture 7 Struct, Union, and Enum Defining and using structured data types, unions, and enumerations.
Lecture 8 Pointers Understanding pointers, memory allocation, and pointer arithmetic.
Lecture 9 File Operation Reading from and writing to files, and handling file operations in C.
Lecture 10 Bitwise Operations Manipulating data at the bit level using bitwise operators.
Lecture 11 Make and Makefile Automating compilation with make and creating Makefile scripts.

🚀 Features

  • Code Examples: Practical and well-documented code snippets for each topic.
  • Examples Directory: Contains additional coding examples for hands-on practice.
  • Lecture Organization: Code is structured by lectures for easy navigation and learning.

💻 How to Use

  1. Clone the repository:
    git clone https://github.com/your-username/c-programming-lessons.git
  2. Navigate to the specific lecture folder to find the examples and assignments for that topic.
  3. Compile and run the examples using a C compiler (e.g., GCC):
    gcc example.c -o example
    ./example

🛠️ Tools and Environment

  • Compiler: GCC (or any standard C compiler)
  • IDE: Code::Blocks, Visual Studio Code, or any preferred text editor
  • Operating System: Cross-platform (Windows, macOS, Linux)

📂 Repository Structure

c-programming-lessons/
├── lecture-1-introduction/
├── lecture-2-number-systems/
├── lecture-3-control-structures/
├── lecture-4-loops/
├── lecture-5-functions-and-macros/
├── lecture-6-arrays-and-strings/
├── lecture-7-struct-union-enum/
├── lecture-8-pointers/
├── lecture-9-file-operations/
├── lecture-10-bitwise-operations/
├── lecture-11-make-and-makefile/
├── examples/
└── README.md

🤝 Contributions

Feel free to contribute by submitting issues, improving examples, or adding explanations.

📄 License

This repository is licensed under the MIT License. See the LICENSE file for details.


Happy coding! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages