Skip to content

About

C programming 1

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

C Programming Coursework & Assignments

A structured repository containing academic assignments, laboratory tasks, and foundational program implementations in the C programming language.

📁 Repository Structure

The repository is organized into distinct homework modules containing individual problem solutions:

├── C PROGRAMMING HOMEWORK 1.0/   # Core syntax, math, and logical problem sets
│   ├── main num 1.c
│   ├── main num 2.c
│   ├── main num 3.c
│   └── ... (Files ranging from num 1 to num 25)
├── HOMEWORK 2.0/                 # Intermediate problem tracks and advanced assignments
├── .gitignore                    # Build artifact and temporary file exclusion rules
└── README.md                     # Project documentation

📝 Assignment Breakdown

C Programming Homework 1.0

This module consists of 25 distinct programming challenges designed to master functional programming paradigms. Key focused items include:

  • Sequential Logic: main num 1.c to main num 5.c
  • Control Flow & Loops: main num 6.c to main num 15.c
  • Modular Math & Conditions: main num 18.c to main num 25.c

Homework 2.0

An advanced continuation of the course focusing on structured data types, algorithms, and modular project design.

🛠️ Core Concepts Covered

  • Syntax Basics: Variables, primitive data types, operators, and basic formatted I/O (printf, scanf).
  • Control Structures: Conditional branching (if-else, switch-case) and iteration loops (for, while, do-while).
  • Data Layouts: Array tracking, matrix grids, and introductory dynamic string manipulations.
  • Algorithmic Logic: Formula evaluations, logical checks, and iterative mathematical computational solving.

💻 Getting Started

Prerequisites

To compile and execute the .c files, you must have a modern C compiler installed on your operating system:

  • Linux: GCC (sudo apt install build-essential)
  • macOS: Clang (via Xcode Command Line Tools: xcode-select --install)
  • Windows: MinGW-w64 / MSVC (or via IDEs like Code::Blocks / VS Code)

Compilation & Execution Guide

  1. Clone the repository:

    git clone https://github.com
  2. Navigate to the target homework directory:

    cd "C-programming/C PROGRAMMING HOMEWORK 1.0"
  3. Compile a specific source file (e.g., Problem 1):

    gcc "main num 1.c" -o problem1
  4. Execute the compiled program binary:

    • Linux/macOS: ./problem1
    • Windows: problem1.exe

About

C programming 1

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages