About c++
It was created as an extension of c language by Bjarne Stroustrup
It is the most preferred language used for competitive programming and its
also has features like object oriented programming,generic and functional
features in addition to facilities of low level memory manipulation
You can use various ide`s for coding in c++ language
- Dev c++
- Code Blocks
- Microsoft visual studio
- NetBeans
Why Do We Need To Learn C++
C++ is a very powerful language,it is often used to develop game engines, games, and desktop apps
With the rise of Virtual Reality, C++ developers will be needed to develop the most visually amazing VR apps, so in that aspect, C++ has a pretty bright future.
How to print in c++???
For printing "Hello World !" in c++ we will simply open our ide and just need
to give commond
Syntax:-
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!";
return 0;
}
int main() {
cout << "Hello World!";
return 0;
}
Output:-
Hello World!
Use of Semicolon:- every line in c++ has to end with semicolon without
that your code of line is not complete.
Use of endl :- Endl is used to stop the line
0 Comments
if you have any doubts.Please let me know