A compilation of all the C related programs I have built at school.
- Move the C file in the root directory and its dependent files.
- Run the following command
nodemon --exec "gcc -o file_name file_name.c && ./file_name > output.txt" file_name.c
This repository contains various programs written in C, showcasing different aspects of programming like data structures, algorithms, and basic computational logic. Each program is designed to provide a practical understanding of key concepts in computer science.
program1.c
: Description of what this program does.program2.c
: Description of what this program does.- ... (add descriptions for other programs as needed)
- GCC Compiler
- Nodemon (for automatic compiling and running)
To set up the required environment:
- Install GCC: Instructions here
- Install Nodemon: Run
npm install -g nodemon
After setting up the environment and moving the desired C file to the root directory:
- Replace
file_name
with the name of your C file in the compile command. - Run the compile command as described above.
- The output will be saved in
output.txt
in the root directory.
Feel free to fork this repository and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.
Click the following link to read the LICENSE