Introduction of C++:
C++ is a most power full
programming language.C++ based on OPP's concept and C++ is a super set of C
language. It isregarded as an
intermediate-level language, as it comprises a combination of both high-level and low-level language features.C++ is one of the most
popular programming languages and is implemented on a wide variety of
hardware and operating system platforms.C++ is used for hardware
design, where the design is initially described
in C++, then analyzed, architecturally constrained, and scheduled tocreate
a register-transfer level hardware description language via high-level synthesis.
C++ wasdeveloped by Bjarne Stroustrup of AT&T Bell
Laboratories in the early 1980's, and is based on theC
language. The name is a pun - "++" is a syntacticconstruct used in C
(to increment a variable), andC++ is intended as an incremental improvement of
C. Most of C is a subset of C++, so that most Cprograms can be compiled
(i.e. converted into aseries of low-level instructions that the computer canexecute
directly) using a C++ compiler.
Some
Spacial Point:
Some spacial point is given
bellow.
·
C++ is
designed to be a statically typed,
general-purpose
·
language
that is as efficient and portable as C
·
C++ is
designed to directly and comprehensively support multiple programming styles (procedural programming, data abstraction, object-oriented programming, and generic programming)
·
C++ is
super set of C language.
·
C++ is
designed to be compatible with C as much as possible, therefore providing a
smooth transition from C
·
C++
avoids features that are platform specific or not general purpose
·
C++ does
not incur overhead for
features that are not used (the "zero-overhead principle")
·
C++ is
designed to function without a sophisticated programming environment
Simple C++ Program:
#include<iostream.h>
using namespace na;
int main()
{
cout<<"hello worid"<<endl;
return 0;
}
Simple C++ Program:
#include<iostream.h>
using namespace na;
int main()
{
cout<<"hello worid"<<endl;
return 0;
}
C language is a computer programming language.Very easy to learn and a strutured language. C language is a object oriented programming.
ReplyDeleteC++ training in chennai | Unix training in Chennai | FITA Velachery Reviews