Introduction to "C" Programming,
C is a powerful general-purpose programming language. It is fast, portable and available on all platforms.
C is a programming language developed at AT & T's Bell Laboratories of the USA in 1972. It is designed and written by a man Dennis Ritchie in between 1969 and 1973. It becomes popular its reliable, simple and easy to use. C language suitable for system programmings like an operating system or compiler development.
Nobody can learn C#, C++ or Java directly. C language has some basic elements like classes, polymorphism, exception handling etc. One should learn all the language elements. The popular operating systems like Windows, Linux, Unix are also written n C.
The C programming language is middle-level language. Some say C is high-level language and some says C is a low-level language. The actual fact is that the C is low-level language in comparison with the Java, .net etc and it is high-level language in comparison with the assembly language. It is in between high level and low level.
On the other hand in Linux the Vim editor is best for C programming, I am also using Vim editor for C programming.If Vim editor is not working properly on Linux then it may need some packages to be download. To download the package open the terminal and write the command sudo apt-get install vim then press enter first it will ask for password and then it checks for needed packages and asks for download and install then press Y. It will automatically download and install all the packages. Code Block is also available for Linux. The output is
Please feel free to comment if you find anything incorrect or you want to share more information about the topic discussed above.
Let's Start With C Programming
For writing C code the compiler is necessary. The various compilers are available on the internet. Some compilers are available online also. Some compilers are like Code Block, Eclipse, Dev-Cpp also available. I strongly recommend you to use Code Block for windows.On the other hand in Linux the Vim editor is best for C programming, I am also using Vim editor for C programming.If Vim editor is not working properly on Linux then it may need some packages to be download. To download the package open the terminal and write the command sudo apt-get install vim then press enter first it will ask for password and then it checks for needed packages and asks for download and install then press Y. It will automatically download and install all the packages. Code Block is also available for Linux. The output is
Let's Take Simple Program of C
#include <stdio.h>int main(void){ printf("Ocean of Programming\n"); return 0;}The output isPlease feel free to comment if you find anything incorrect or you want to share more information about the topic discussed above.

Comments
Post a Comment