Are you in search of C++Training in Ambala?
Now your search ends here.. Batra Computer Center provides you the best professional C++ Training in Ambala.
2. A C++ program is a collection of commands, which tell the computer to do "something". This collection
of commands is usually called source code, or just code. Commands are either "functions" or "keywords".
Keywords are a basic building block of the language, while functions are, in fact, usually written in terms
of simpler functions--you'll see this in our very first program, below. (Confused? Think of it a bit like an
outline for a book; the outline might show every chapter in the book; each chapter might have its own
outline, composed of sections. Each section might have its own outline, or it
might have all of the details written up.)
Thankfully, C++ provides a great many common functions and keywords that you can use. But how does
a program actually start? Every program in C++ has one function, always named main, that is always
called when your program first executes. From main, you can also call other functions whether they are
written by us or, as mentioned earlier, provided by the compiler.
3. C++ as the name implies, is essentially based on the C-programming language.
The C programming language was developed in 1970’s at Bell Laboratories by Dennis Ritchie.
C++ began in 1979 with the first commercialization in 1985.
C++ is essentially C taken to the next level, i . e .,C++ supports all C commands and also has many
additions. Hence C++ is a super set of the C programming language.
Though there are different improvement the most obvious difference b/t C and C++ is, C++ Supports object
orientation.
4. C++ is an object oriented
programming (OOP) language,
developed by Bjarne Stroustrup,
and is an extension of C language.
It is therefore possible to
code C++ in a "C style" or "object-
oriented style."
5.
6. C++ is a powerful general-
purpose programming language. It can be used to
create small programs or large applications. It can
be used to make CGI scripts or console-only DOS
programs. C++ allows you to create programs to do
almost anything you need to do.
7. Integrated with programming language.
Automatic method storage (When Available)
User Define type.
Complex data readily processed
Automatic persistent object IDs
Single level memory
8. Requires object-oriented programming
Little existing data in object form
Nonexistent (or poor) query and reporting
tools.
Limited concurrency control & transaction
management.
Unproven performance
Substantial change and learning required.
9. C is procedural language.
No virtual functions are present in C
In C, Polymorphism is not possible.
Operator overloading is not possible in C.
Top Down approach is used in program Design.
No name space Feature is present in C
language.
Multiple Declaration of global variables are
allowed.
In C, we can call main() function through other
function.
No inheritance is possible in C
C++ is non procedural language i.e. object Oriented
language.
The concept of virtual Functions are used in C++
The concepts of Polymorphism is used in C++.
Polymorphism is the most important feature of OOPS.
Operator overloading is one of the greatest Feature of C++
Bottom up approach adopted in program Design.
Namespace feature is present in C++ for avoiding Name
collision.
Multiple Declaration of global variables are not allowed.
In C++, We cannot call main() function through other
function.
C Language C++ Language