Get Started with C Language.
Overview
-- What is C language.
- Since the late 19th century, C has been a popular programming language for general-purpose use.
- C language was developed by Dennis M. Ritchie at bell laboratory in early 1970s
- Its applications are very diverse. It ranges from developing operating systems to databases and all. It is system programming language used to do low level programming (e.g., driver or kernel)
- Even if it’s old, it is still a very popular programming language.
- As the whole UNIX operating system was written in C, it has a strong association with the operating system
- C has also been used widely while creating iOS and Android kernels.
- MySQL database is written using C.
- Ruby and Pearl are mostly written using C.
- Most part of Apache and NGINX is written using C.
- Embedded Systems are created using C
--C Install IDE
- An IDE (Integrated Development Environment) is used to edit AND compile the code.
- Popular IDE's include Code::Blocks, Eclipse, and Visual Studio. These are all free, and they can be used to both edit and debug C code. Note: Web-based IDE's can work as well, but functionality is limited.
- We will use Code::Blocks in our tutorial, which we believe is a good place to start.
- You can find the latest version of Codeblocks at http://www.codeblocks.org/. Download the mingw-setup.exe file, which will install the text editor with a compiler.
-- Hello World in C.
#include<stdio.h>
#include<conio.h>
int main()
{
printf("Hello World!");
return 0;
}
Output :
::> Hello World!
Post a Comment
0Comments