A project that was aimed at myself where i practiced C programing. The goal was to move down in the technology ladder to low level programing. I wish to program my own hardware in the future so that I can develop IoT devices. Any one who wishes to read contribute or review the code and provide suggestion is welcome to do so.
Welcome to my practice repository where i have stored some easy simple C code that you can view copy run or edit for what every reason you may wish. The setup of the project is really easy and you won't need much time to get up and running. All you need to run the code is GCC and a few commands if you are running linux. The commands are
To compile and run C Code
- To compile the c Code type [ gcc filename ]
- to run compiled c Code [ ./a.out ]
To generate DLL file for C#
- gcc -c -fPIC filename (This will output a.out file)
- gcc -shared -o outputFile.dll inputFile.o
to view Execution time of the code add time before ./a.out Example: time ./a.out beware this code works only on Linux.
There are play of gcc command that you can play with so make sure to visit gcc's manual and play around with the commands. Just make sure to read the docs properly before playing with the commands.
The get everything running smoothy without any hiccups will requires some tools they might come preinstalled with your OS and if not I have listed the tools you will need to run C code on your machine.
And then lastly a text editor of your choosing I recommend VS code but any text editor will do.
- Visual Studio Code - Code Editor
The practice C code was built with the following tools on GNU/Linux with Fedora 32 as distribution.
- Visual Studio Code - Code Editor
- GCC - C Compiler
- GIT - Version Control
- Github - Version Control provider
- Nasar Eddaoui - Initial work - Nasar Eddaoui
See also the list of contributors who participated in this project.
This project is licensed under the MIT - see the LICENSE file for details
- C Programing Language - By (author) Brian W. Kernighan , By (author) Dennis M. Ritchie