So as usual like everyone i like to start these tutorial with very basic questions like what is C? What are compilers? and many others blah blah. Because this is what you should know before getting start C. These are just basic information about C and things that you should know before start.
What is C?
C is a procedural language developed by Dannis Ritchie at AT and T’s Bell Laboratories in between 1969 and 1973. It’s a structured language. Due to it’s simplicity, reliability and easy to use it became popular so quick. It replace all language of that time like ALGOL, PL/I etc. A question arises that why are we learning C programming language when it is superceded by languages like C++, C# and JAVA?
In my opinion still C is the most powerful language i’ve learned. According to my sir he used to say that “C and C++ are those languages in which what you can think is what you can do through it.”
Unix is developed using C language. C language is used to develop software that are used in embedded systems like Oven, Washing machine etc. The primary implementations of CPython, Perl 5, and PHP are all written in C.
What is Compiler?
As you know computer can only understand machine language so it is necessary to communicate with computer using machine language. We have two options we can learn machine language that is way difficult because machine language varies from machine to machine and that’ll become difficult to learn all code in machine language.
Option number 2 like if Chinese president visits Pakistan or any country he used to communicate with Pakistani president by a translator which know both language Urdu and Chinese. His/Her job is to translate Urdu into Chinese or vice versa. He/She know both language.
Likewise a compiler works. Compiler is a software that basically used to translate what you written in other language into machine language. Every language has it’s own compiler and it can only translate that language into machine language i.e. Assembler can only translate assembly language, C compiler can only translate C language etc.
What is IDE?
IDE stands for integrated Development Environment. As name suggest it’s a environment used to developed a program. It integrate compiler and text editor and give programmer different facilities to write, edit or build a code.
Many IDEs are available for C mostly used IDE is Turbo C but i recommend you not to use it because it is now outdated. You should use modern IDEs but that doesn’t matters, the thing which matter is how sharp you’re brain is to create or understand a logic. I recommend you to download GCC compiler from here.