You are on page 1of 8

C++

RESULT

A. How to compilation process

The compilation step is performed on each output of the preprocessor. The compiler parses
the pure C++ source code (now without any preprocessor directives) and produces an
object file. This object file contains the compiled code (in binary form) of the symbols
defined in the input. Symbols in object files are referred to by name.
Object files can refer to symbols that are not defined. This is the case when you use a
declaration, and don't provide a definition for it. The compiler doesn't mind this, and will
happily produce the object file as long as the source code is well-formed.
Compilers usually let you stop compilation at this point. This is very useful because with it
you can compile each source code file separately. The advantage this provides is that you
don't need to recompile everything if you only change a single file.
The produced object files can be put in special archives called static libraries, for easier
reusing later on.

B. Excute the Programme

2. What is C++ Programming


The C++ programming language has a history going back to 1979, when Bjarne Stroustrup was doing
work for his Ph.D. thesis. One of the languages Stroustrup had the opportunity to work with was a
language called Simula, which as the name implies is a language primarily designed for
simulations. The Simula 67 language - which was the variant that Stroustrup worked with - is
regarded as the first language to support the object-oriented programming paradigm. Stroustrup
found that this paradigm was very useful for software development, however the Simula language was
far too slow for practical use.

Basics of C++

Structure of a program

Variables and types

Constants

Operators

Basic Input/Output

Program structure

Control Structures

Functions

Overloads and templates

Name visibility

Compound data types

Arrays

Character sequences

Pointers

Dynamic Memory

Data structures

Other data types

Classes

Classes (I)

Classes (II)

Special members

Friendship and inheritance

Polymorphism

Conclusion
C is a great programming language that can make programming a lot of fun. One of the best
ways to learn is by taking a programming class. See if you can take a class at your school, or take
a class at night school. Programming in C is a skill that could end up saving you your job or help
you get a better job. I hope these tutorials help you in your quest to learn the C language.
I welcome comments, suggestions or criticism for all the people out there on the net that read
this. If you can help me make this list a little better, you will be helping a lot of people out there

on the net. If you find any errors or would like to suggest any additions please feel free to email
me.

You might also like