Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 2.05 KB

README.md

File metadata and controls

54 lines (34 loc) · 2.05 KB

Basic C Programs

This repository contains simple C programs demonstrating various fundamental concepts of the C programming language. These programs are designed to help beginners understand file handling, basic I/O operations, and mathematical computations.

Author:@DProvat
Logo www.arprovat.com

📌 Program List

  • file_io.c: Demonstrates file reading and writing in C.
  • temp_conversion.c: Converts temperature between Fahrenheit and Celsius.
  • basic_calculator_withSwitch.c: A simple calculator using switch-case statements.

📂 Project Structure

  • src/: Contains the main C source code files.
  • executables/: Holds the compiled .exe files for quick preview.
  • docs/: Documentation and additional resources.

Users can browse the executables/ folder to run pre-compiled versions of the programs without needing to compile them manually.


📜 Documentation

Each program has a corresponding .md file inside the docs/ folder explaining its functionality, usage, and code breakdown.

🛠️ Tech Stack

Language: C Programming

🚀 How to run

  • Clone the repository to your local machine.

  • Compile and run the C programs using a C compiler (like gcc).

    Example command:

    gcc file_io.c -o file_io
    ./file_io
  • For some programs that involve file operations, ensure that the necessary files (data.txt, etc.) are in place.

⚡ Quick Preview (Executables)

If you just want to test the programs without compiling, you can find the executable files inside the executables/ folder.

🤝 Contributing:

Contributions are welcome! If you'd like to improve the functionality, fix bugs, or add new features, feel free to fork the repository and submit a pull request.

✉ Contact

Logo If you encounter any issues or have suggestions for improvement, please open an issue on GitHub.