What is C (Programming Language)?
C is an imperative (procedural) language. It was designed to be compiled using a relatively straightforward compiler, to provide low-level access to memory, to provide language constructs that map efficiently to machine instructions, and to require minimal run-time support. Therefore, C was useful for many applications that had formerly been coded in assembly language, for example in system programming.
Despite its low-level capabilities, the language was designed to encourage cross-platform programming. A standards-compliant and portably written C program can be compiled for a very wide variety of computer platforms and operating systems with few changes to its source code. The language has become available on a very wide range of platforms, from embedded microcontrollers to supercomputers. [Wikipedia].
Setting Up Code Blocks
1- Download and install Code::Blocks on your compute (click here).
Code::Blocks is a free C, C++ and Fortran IDE built to meet the most demanding needs of its users. It is designed to be very extensible and fully configurable.
Finally, an IDE with all the features you need, having a consistent look, feel and operation across platforms.
Built around a plugin framework, Code::Blocks can be extended with plugins. Any kind of functionality can be added by installing/coding a plugin. For instance, compiling and debugging functionality is already provided by plugins![codeblocks].
2- Create a folder. Your codes/projects will be store in this folder.
3- Open the Code Blocks software.
4- Go to File>File>Project. (a new window opens up)
5- Select “Console application” and click “GO” then “NEXT“.
6- Select “C” and click “NEXT“.
7- Give a title to your project. (e.g. learningProject).
8- Brows and select your folder which you created in step 2. and click “NEXT“.
9- In the next window do not change any thing. Just click on “Finish“.
That’s it. Your IDE is ready for writing your code.