Presentation is loading. Please wait.

Presentation is loading. Please wait.

C Programming Lecture-1 Overview and Environment Setup

Similar presentations


Presentation on theme: "C Programming Lecture-1 Overview and Environment Setup"— Presentation transcript:

1 C Programming Lecture-1 Overview and Environment Setup
$p!derLabWeb C Programming Lecture-1 Overview and Environment Setup

2 What is a programming language?
Programming language is a computer language designed to communicate instructions to the machine. It is used to design the programs which is further used to control the behavior of the machine.

3 Different types of languages
There are mainly three types of languages:- Low Level languages E.g- Assembly Language Middle Level Language E.g- C High Level Language E.g- java,python

4 Why we still need it? Learning C language will help you to build your basic concepts about a programming language. Instead of directly jumping to a HLL(High level language) like c++, c#, java etc. where you will learning about the OOPs(Object Oriented Programming). When it comes to performance then no language can beat C. It works very efficiently on a wide range of platforms.

5 C language is more close to the machine then any other language except Assembly Language.
Assembly language is not used so widely because it is not easy to learn. The Drivers of Operating Systems like windows, Linux are made using c language. It is used to make language compilers and interpreters and also assemblers. It is used to make high performance games.

6 Getting Environment ready
There are different softwares used to compile the C code. Codeblocks Dev C++ Visual studio We will be using the codeblocks for the whole lecture.

7 Setting up the project Follow the below path to create the new project:- File > New > Projects Now choose the console applications from the pop up window and click ok. Now choose C and click next. Now give name to the project and also provide the path where you want to save the project and then click next.

8 Now your project is created
Now your project is created. Now you will see on the left a management window if not then go to view > Manager. Now it will visible. Now click on the your project name, you will see a sub-directory names source click on it now you will see the main.c , this is the main file. Now double click it to open it. There you will see hello world program already written. Now go to build > build and run in menu bar. This is your first program project.

9 Thank you!


Download ppt "C Programming Lecture-1 Overview and Environment Setup"

Similar presentations


Ads by Google