What is Programming???
To tell the computer what to do is known as Programming..
It is the simplest
definition of programming.. Through programming we convey our massage to
computer in his language.
We all know that computer is a machine and it does not has a brain .It only
understand the binary language (0 or 1) only..
Types
of programming languages:
There are two main types of programming languages
High level language
Low level language
High level language:
The language which is only
understandable by Human machine but not by computer.
For example:
C++, C, Java etc.
Low level language:
The language which is only understandable by computer.
For example:
Machine
Language
What
is Integrated Development Environment (IDE)???
An integrated development environment (IDE) is a
programming environment that has been packaged as an application program,
typically consisting of a code editor, a compiler a debugger, and a
graphical user interface builder. The IDE may be a standalone application or
may be included as part of one or more existing and compatible applications.
The basic programming
language, for example, can be used within Microsoft Office applications, which
makes it possible to write a WordBasic program within the Microsoft Word
application. IDEs provide a user-friendly framework for many modern programming
languages, such as C,C++.
Editor:
Part of IDE were source code can be written..
Compiler:
Part of IDE which convert Source code into Assembly Language
Linker:
Part of IDE which connects Source Code with
the Header Files..
Assembler:
Part of IDE which convert Assembly
Language into Machine Language
Loader:
Part of IDE which Loads The compiled code
on Memory
Debugger:
Pat of IDE which is Helpful in
finding LOGICAL errors
An
IDE works as follow
First we
write code in editor,After writing code compiler in IDE compile it. After
compile it change it into assembly language, after Assembly language it is
further changed into to Machine language.
Types of Errors In source code:
- Logic Errors
- Syntax Errors
What is Logical Error???
- 1.
Based on Poor logic of Program
- 2.
Compiled Successfully And produce wrong Result
- 3.
Difficult to DETECT and Remove
- 4 Debugger is Helpful in finding Logical Errors
What is Syntax Error???
- 1.
Base on any Error in the Source Code
- 2.
Program does not Compile
- 3.
Easy to Detect
- 4.
Easily Removable
Now we shall Move toward c++ Language.You must has A dev c++ installed in your PC or Laptop
You can install Dev c++ from Link Below
Click Here to DOWNLOAD DEV C++
For Any Question COMMENT below