ide description

Post on 17-Feb-2017

133 Views

Category:

Engineering

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

SUBMITTED BY: NIDHI BARANWAL MCA 3RD SEM ROLL NO – 15 University of Allahabad

COMPONENTS OF INTEGRATED DEVELOPMENT ENVIRONMENT

An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development.

An IDE normally comprises of a source code editor,compiler,linker,interpreter,debugger & GUI builder ; termed as components.

Some of the IDEs are Eclipse IDE ,Microsoft Visual Studio ,Dev-Cpp ,Turbo C / C++ Builder etc.

INTEGRATED DEVELOPMENT ENVIRONMENT

There are various components of IDE in which some are specific to a particular IDE while some are common to all; means general components.

1. SOURCE CODE EDITOR2. COMPILER3. LINKER4. INTERPRETER5. DEBUGGER6. GUI BUILDER

COMPONENTS OF IDE

WHAT? A source code editor is a

text editor program designed specifically for editing source code of computer programs by programmers.

It may be a standalone application or it may be built into an integrated development environment (IDE).

SOURCE CODE EDITOR

The IDE window includes three sub-windows: the Project Files Explorer, the Result Tabs, and

the Source Code EditorThe editor highlights with different colour

keywords and other elements of the C language. It uses:

Light blue for comments Green for included libraries Red for text strings Bold black for C keywords

HOW IT WORKS?

CONTD..

Source code editor

File explor

er

Result window

WHAT? A compiler is a computer program

that transforms source code written in a programming language into object code of target language.

In short, a compiler converts a program from a human-readable format into a machine-readable format.

COMPILER

The overall working of a compiler is too broad; but in brief we can understand in following four terms.

1. Lexing – that break up the text of the program into "tokens"

2. Parsing – that convert the sequence of tokens into a parse tree

3. Optimization – that evaluate constant expressions, and optimize unused variables or unreachable code .

4. Code generation-that translate the parse tree into machine instructions

HOW IT WORKS?

CONTD..

COMPILATION

WHAT? A linker  is a computer program

that takes one or more object files generated by a compiler and combines them into a single executable file.

A program used to provide links to the libraries needed for an executable program.

LINKER

To run a program, the source code must be compiled and linked. Dev-Cpp performs the

complete process by clicking the compile&run button (or F11).

While the compilation and link process is being performed, the IDE shows a dialog box with related information. If the process is successful, the window shows the message Done.

HOW IT WORKS?

CONTD..

THANKS

top related