Skip to content

This repository, by Ashikur Rahman Provat, offers a collection of basic C programs aimed at beginners. It covers key topics like file handling, input/output operations, and mathematical computations. Whether you're starting from scratch or refining your skills, this resource serves as a useful tool to practice core C programming concepts.

Notifications You must be signed in to change notification settings

Provat-14/basic_c_programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This repository, by Ashikur Rahman Provat, offers a collection of basic C programs aimed at beginners. It covers key topics like file handling, input/output operations, and mathematical computations. Whether you're starting from scratch or refining your skills, this resource serves as a useful tool to practice core C programming concepts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages