Skip to content

Latest commit

 

History

History
92 lines (71 loc) · 4.43 KB

README.md

File metadata and controls

92 lines (71 loc) · 4.43 KB

Placeholder Banner

C Exercises - Archive

A collection of exercises in the C programming language.

Number of Exercises Difficulty Medium Language C License MIT


📖 Introduction

The C Exercises - Archive is a personal collection of programming exercises in the C language that I have completed over the years during my Programming classes. This repository represents an effort to organize these exercises in one place.

By making them public, I hope they can serve as a resource for others who are learning or practicing C programming. Whether you are a student, a self-learner, or someone looking to brush up on C, this archive aims to provide useful exercises for a wide range of programming topics.

💻 Exercises Usage

Important

The main branch of this repository is intended as a personal archive of my exercises. Please do NOT modify this branch directly. For more details, see the Contributing and Feedback section.

To use the exercises in this repository, you can either explore and review my solutions or fork the repository and modify the exercises to practice on your own.

Steps to Fork the Repository:

  1. Open the GitHub page for this repository.
  2. Click on the "Fork" button in the top right corner.
  3. Once the fork is created, clone your forked repository to your local machine:
    git clone https://github.com/yourusername/C-Exercises.git
  4. Navigate to the cloned directory:
    cd C-Exercises
  5. Browse the folders and choose the exercise you want to practice.

Feel free to customize and modify the exercises to fit your learning goals!

📂 Exercises Structure

The exercises are organized by date, and they become progressively more challenging as the dates increase.

Tip

If you are new to C programming, it is recommended to start with the older exercises.

Each folder contains one or more exercises. The task description, prompt, or problem statement is written at the beginning of each .c file as a comment to provide context for the exercise.

🤝 Contributing and Feedback

Important

As mentioned in the Exercises Usage section, the main branch of this repository is intended as a personal archive of my exercises. Please do NOT modify this branch directly. For more details, see the contribution guidelines below.

How to Contribute

  • Bug: If you find a bug (not an error in my exercise itself, but an issue in the execution of the code), open a new Issue and describe it.
  • Error: If you find and error and know how to fix it, follow the Generic Procedure below.
  • Incomplete Exercise: If you want to complete an incomplete exercise, follow the Generic Procedure below.
  • Improvement Suggestion: If you have a better version for an exercise, open a new discussion so we can collaborate and potentially integrate your version into the main branch.
  • General Suggestions: For other types of suggestions, open a new Issue and describe your idea.

Generic Procedure

  1. Fork the repository.
  2. Create a new branch for your fix:
    git checkout -b fix-name
  3. Commit your changes and push to your forked repository:
    git commit -m "Fix error: description"
    git push origin fix-name
  4. Open a Pull Request (PR) with a clear description of your changes. Please follow the coding style and naming conventions used in the repository.

If you want to contribute in any other way that is not mentioned here, please ask for guidance via the Issues or Discussions tab before proceeding.

📄 License

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


If you find this repository helpful, please consider giving it a ⭐ to show your support.

Thank you for visiting and enjoy your coding journey!