I have been wanting to learn C++ for a long time, but have no time. Let's get started with a little time in the near future.
Using visual studio 2015 as a development tool, the download address for bloggers is as follows, just download the community version:
http://news.mydrivers.com/1/439/439398.htm
After the installation is complete, open it and select visual c++.
Create a new C++ project:
Click the toolbar file - new - project - win32 console program in turn, you can modify the project name. Click OK
Edit the code in the code editing area that appears on the right!
// HelloC++.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <stdlib.h> using namespace std; intmain() { cout << "hello c++\n";//Output hello c++ and newline to the console system("PAUSE "); //Pause the console return 0; }