What is C++ or CPP programming language?
C++ is a programming language
developed by Bjarne Stroustrup in 1979 at Bell Labs. C++ is a high level,
general purpose programming language.It is an extension of the C programming.
C++ is a middle level language as it include features of both high level and
low level programming language. It’s extension for save file which includes the
C++ code is .C, .cc, .cpp, .cxx, .c++, .h, .hh, .hpp, .hxx, .h++.
we will seen one example:-
C++ inherits most of C's syntax. The following is
Bjarne Stroustrup's version of the Hello world program that uses
the C++ Standard Library stream facility to write a message to standard output:
1 #include <iostream>
2
3 int main()
4 {
5 cout << "Hello, world!\n";
6 }
Output:-
Hello, world!
0 Comments