What is C Programming

C is a programming language, developed by Dennis Ritchie at Bell Lab. World of the oldest and fastest language. Mother of all programming languages.
What is C Programming
What is C Programming

What is programming?

Programming is a medium for communicate with computers. Just like we use English language for communicate other person.
So, Programming is the way for us to deliver our instructions to the computer.

What is C?

C is a programming language. It is one of the oldest, fastest and finest programming language and it is the mother of all Programming language.

It was developed by Dennis Ritchie at Bell labs, USA ( Bell Telephone Laboratories - the most influential research and development organizations in the world ) in 1972.

C programming was created as an improvement over the B language, which was itself based on BCPL (Basic Combined Programming Language).

Initially , designed to develop the UNIX Operating System. C replaced assembly language to make system development more flexible. 

Why Learn C?

There are following : 

  • Foundation for Other Languages. Many programming languages have concepts from C.
  • C language is used in creating operating systems, embedded systems, and hardware drivers.
  •  C encourages you to think logically and understand how a computer works internally.

Use of C programming

C language is used to program a wide variety of system. Some of the uses of the C are as follows.

  • Major part of windows, Linux and other operating system are written in C language.

  • C is used to write driver program for device like tablet, printers and more. 

  • C language is used to program embedded system where program need to run faster in limited memory. (Microwave, cameras and more).
  • C is used to develop games an area where latency is very important i.e. computer has to react quickly on used input.

Installation of Code Editor and Compiler

We will use VS Code as our code editor to write our code. 

There are some following steps:-

Step 1: Install VS Code.

  • Go to the official Visual Studio Code.
  • Click on the download button for your operating system (Windows, macOS, or Linux).

Step 2: Install a c compiler. (You need a compiler to execute C code). 

  • Windows: Install GCC using MinGW
  • MacOS: Use Xcode Command Line Tools.
  • Linux: Install GCC using your package manager.

Step 3: Install Extensions in VS Code

  • Open VS Code.
  • Go to Extensions Marketplace.
  • Click on the Extensions icon (left toolbar) or press Ctrl+Shift+X.
  • Search for the Extensions: C/C++ (Official extension by Microsoft)

Step 4: Set Up the Environment

  • Verify Compiler Path. (Ensure the compiler GCC is added) 
  • Configure Tasks in VS Code.


Post a Comment