C++ is a powerful, object-oriented programming language developed by Bjarne Stroustrup as an extension of C. It supports classes, inheritance, polymorphism, and more, making it ideal for both system-level and application-level software.
C++ एक powerful object-oriented programming language है जिसे Bjarne Stroustrup ने C language से extend करके बनाया था। यह classes, inheritance और polymorphism जैसे features को support करती है और system-level और application-level दोनों के लिए useful है।
Where is C++ Used?
C++ is widely used in game development, operating systems, real-time simulations, browsers (like Chrome), compilers, and embedded systems.
C++ का इस्तेमाल कहाँ होता है?
C++ का use game development, OS, real-time simulation, browser (जैसे Chrome), compiler और embedded systems में होता है।
#include <iostream>
using namespace std;
int main() {
cout << "Hello, World!" << endl;
return 0;
}
Explanation (English):
This is the basic C++ program. It includes the header <iostream>
for input/output. main()
is the starting point. cout
prints "Hello, World!" to the screen. return 0;
ends successful execution the program.
Explanation (Hindi):
यह basic C++ program है। इसमें <iostream>
header file से input/output possible होता है। main()
से program शुरू होता है। cout
screen पर "Hello, World!" print करता है और return 0;
से signals successful execution होता है।