Skip to content

Udesh-Regmi/C_Programming_College_Files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


📚 College C Programming Repository

Welcome to my C Programming Repository! This repository houses all the projects, lab exercises, and programs I’ve completed throughout my college coursework. Here, you can explore various C programming topics, from basic syntax to advanced concepts like file handling, recursion, and more.


📂 Repository Structure


├── Final_Project
│   ├── Bus_Reservation
│   │   ├── a.out
│   │   ├── buses.txt
│   │   ├── main.c
│   │   └── users.txt
│   ├── Calculator
│   │   └── index.c
│   ├── Conversion_System
│   │   └── index.c
│   └── Library_Management
│       ├── library.c
│       ├── library.h
│       ├── library.h.gch
│       └── main.c
├── Lab Reports
│   ├── Lab_Exercise_1
│   │   └── Basics_Syntax_Structure
│   │       ├── Question_1.c
│   │       ├── Question_2.c
│   │       ├── Question_3.c
│   │       ├── Question_4.c
│   │       ├── Question_5.c
│   │       └── Question_6.c
│   ├── Lab_Exercise_2
│   │   └── Data_Types,  Operators and Expressions in C
│   │       ├── Question_1.c
│   │       ├── Question_2.c
│   │       ├── Question_3.c
│   │       ├── Question_4.c
│   │       ├── Question_5.c
│   │       ├── Question_6.c
│   │       └── Question_7.c
│   ├── Lab_Exercise_3
│   │   └── Formatted and unFormatted I
│   │       └── O in C with preprocessor directives
│   │           ├── Question_1.c
│   │           ├── Question_2.c
│   │           ├── Question_3.c
│   │           ├── Question_4.c
│   │           └── Question_5.c
│   ├── Lab_Exercise_4
│   │   └── Decision_Statement
│   │       ├── Question_1.c
│   │       ├── Question_2.c
│   │       ├── Question_3.c
│   │       ├── Question_4.c
│   │       ├── Question_5.c
│   │       └── Question_6.c
│   ├── Lab_Exercise_5
│   │   └── function programming, its types, and function-call
│   │       ├── Question_1.c
│   │       ├── Question_2.c
│   │       ├── Question_3.c
│   │       ├── Question_4.c
│   │       ├── Question_5.c
│   │       ├── Question_6.c
│   │       └── Question_7.c
│   ├── Lab_Exercise_6
│   │   └── Array_Pointers
│   │       ├── Question_1.c
│   │       ├── Question_2.c
│   │       ├── Question_3.c
│   │       ├── Question_4.c
│   │       ├── Question_5.c
│   │       ├── Question_6.c
│   │       ├── Question_7.c
│   │       ├── Question_8.c
│   │       └── Question_9.c
│   ├── Lab_Exercise_7
│   │   └── Structures_in_C
│   │       ├── Question_1.c
│   │       ├── Question_2.c
│   │       ├── Question_3.c
│   │       ├── Question_4.c
│   │       ├── Question_5.c
│   │       ├── Question_6.c
│   │       ├── Question_7.c
│   │       └── a.out
│   ├── Lab_Exercise_8
│   │   └── File_Handling_in_C
│   │       ├── Question_1.c
│   │       ├── Question_2.c
│   │       ├── Question_3.c
│   │       ├── Question_4.c
│   │       ├── a.out
│   │       ├── filec.txt
│   │       ├── person.txt
│   │       └── stringc.txt
│   └── Lab_Exercise_9
│       └── Graphics_in_C
├── Readme.md
└── Submission_Report
    ├── Report_1
    │   └── report.c
    ├── Report_2
    │   └── report.c
    ├── Report_3
    │   └── report.c
    ├── Report_4
    │   └── report.c
    ├── Report_5
    │   └── report.c
    ├── Report_6
    │   ├── a.out
    │   └── report.c
    ├── Report_7
    │   ├── a.out
    │   └── report.c
    ├── Report_8
    │   ├── a.out
    │   ├── report.c
    │   └── std.txt
    └── Report_9
        ├── main
        ├── main.cpp
        ├── report_no__1.c
        ├── report_no__2.c
        ├── report_no__3.c
        ├── report_no__4.c
        └── report_no__5.c

📊 Overview of This Repository

  • Total Directories: 36
  • Total Files: 86
  • Lab Exercises Covered: 9 (with more to come)
  • Programming Topics: Basic Syntax, Data Types, Operators, Expressions, Decision Statements, Functions, Arrays, Pointers, Structures, File Handling, and more.

🛠️ Getting Started

  1. Clone the Repository:

    git clone https://github.com/Udesh-Regmi/C_Programming_College_Files
  2. Navigate to the Desired Lab Folder: Use cd to go into the exercise folder:

    cd Lab_Exercise_1
  3. Compile and Run C Programs:

    • Compile using gcc:
      gcc filename.c -o outputname
    • Run the compiled program:
      ./outputname

    Tip: Replace filename.c and outputname with your desired C source file and output executable name.


🔍 What’s Inside Each Lab Exercise

Lab_Exercise_1 - Basics of Syntax & Structure

  • Focuses on fundamental syntax, operators, and control structures in C.
  • Key topics: Variables, Data Types, Functions, Loops, Conditionals.

Lab_Exercise_2 - Data Types, Operators, and Expressions

  • Explores various data types and operators.
  • Key topics: int, float, char, double, &&, ||, ++, --, etc.

Lab_Exercise_3 - Formatted and Unformatted I/O in C with Preprocessor Directives

  • Deals with input/output operations and preprocessor directives in C.
  • Key topics: printf, scanf, #define, #include.

Lab_Exercise_4 - Decision Statements

  • Covers decision-making constructs like if, else, switch.
  • Key topics: Conditional Statements, Nested Conditions.

Lab_Exercise_5 - Function Programming, Types, and Function Calls

  • Focuses on functions, including function types and function calls.
  • Key topics: Function Declaration, Definition, Call, Recursion.

Lab_Exercise_6 - Arrays and Pointers

  • Covers the concept of arrays and pointers in C.
  • Key topics: Array Manipulation, Pointer Arithmetic, Pointers to Arrays.

Lab_Exercise_7 - Structures in C

  • Introduces structures for grouping related data types.
  • Key topics: Defining Structures, Accessing Structure Members, Pointers to Structures.

Lab_Exercise_8 - File Handling in C

  • Explores how to handle files in C using fopen, fread, fwrite, and fclose.
  • Key topics: File Reading/Writing, File Modes, Text Files vs Binary Files.

Lab Exercise 9: Graphics in C

  • Programs utilizing graphics libraries for creating visual applications.

📈 Key Statistics

  • Lab Exercises Completed: 9/9 (100% completed)
  • Total C Programs: 70+
  • Upcoming Topics: Recursion, Dynamic Memory Management, Advanced File Handling, and more.

🎯 How to Contribute

If you'd like to contribute to this repository (or if you're working on the same course), feel free to fork and submit a pull request with your changes or improvements!


📌 Useful Resources


🧑‍💻 About This Project

This repository is dedicated to organizing and showcasing my C programming learning journey through college. It serves as both a learning tool and a place to document my progress.


📞 Contact Me


⭐ If you find this repository helpful give it a star. ⭐

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published