Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/farinap5/learning-c

My collection of C programming examples.
https://github.com/farinap5/learning-c

c learn-to-code learning learning-by-doing programming

Last synced: about 1 month ago
JSON representation

My collection of C programming examples.

Awesome Lists containing this project

README

        

Learning-C

This repository contains my collection of simple C programming examples, made to help to learn the C programming language as well as the creation of algorithms.

The idea is that all the codes are simple to understand because they have comments explaining line by line. Small codes and beginner friendly.

All programs should be easily campiled and run on Linux based machines, as not tested on Windows shouldn't fail though.

Feel free to open a pull request to fix any issues or include any new code.

---
### Compile and Run

Simple compilation.

#### CLang

> clang-7 -pthread -lm -o outputfile file.c

#### GCC

> gcc file.c -o outputfile

Kernel Linux

> ./outputfile

Or

> gcc file.c && ./a.out

Windows

> \> outputfile