Microsoft Developer Network
Welcome to the official Microsoft Developer Network (MSDN) documentation for the C++ programming language. C++ is a powerful, general-purpose programming language created as an extension of the C language. It provides high-level and low-level manipulation of memory. It was evolved from C by adding object-oriented features. C++ is one of the most widely used programming languages today for everything from system/device software, game development, desktop applications, server applications, and high-performance server applications, embedded system software, and more.
C++ was developed by Bjarne Stroustrup at Bell Labs starting in 1979 as a project to build a better simulation. It was initially called "C with Classes". The name C++ was coined by Rick Mascitti in 1983. C++ gained popularity rapidly due to its efficiency and flexibility, becoming a cornerstone of software development.
To start programming in C++, you will typically need a C++ compiler and an integrated development environment (IDE). Microsoft Visual Studio provides a robust and feature-rich IDE for C++ development on Windows, along with powerful debugging tools.
Here is a simple C++ program that prints "Hello, World!" to the console:
#include <iostream>
int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
As you delve deeper into C++, you will encounter several fundamental concepts:
if
statements, for
loops).This overview provides a starting point for your C++ journey. Explore the links in the navigation bar for detailed information on specific aspects of the language.
Last updated: October 26, 2023