Learn C++

C++ Let’s start

Watch The C++ video tutorial and repeat. The easiest way to memorize the C++ (C-Plus-Plus) programing language.

Prepare Visual Studio for C++

Go to your desktop.

Create a New Folder and name it Tutorials.

Double click on it, create another New Folder inside the tutorials folder and name it C++.

Create your first C++ File

Open Visual Studio and click on create a new project.

Select C++ as a programming language, Windows as a platform and Console as a project type.

Then select Console App and click on next.

In Project Name section type “MyFirstCppFile”.

Set the location path “..\Desktop\Tutorials\C++\”.

Check Place solution and project in the same directory and click on Create button.

Delete the text, write the following C++ code and save the file. (File > Save All or press Ctrl+Shift+S on your keyboard).

				
					#include <iostream>
using namespace std;

int main() {
cout << "Hello Telestudents.com!";
return 0;
}
				
			

Don’t worry if you don’t understand the code above.

We’ll go over it in more depth in the next chapters.
Focus on running the code for the time being.

It should like this in Visual Studio:

Then go to Debug > Start without Debugging or press CTRL+F5 to execute the program.

This is how the final result will appear:

Hello Telestudents.com!
C:\Users\user\Desktop\Tutorials\C++\MyFirstCppFile\x64\Debug\MyFirstCppFile.exe (process 964) exited with code 0.
Press any key to close this window . . .

Congratulations!
Your first C++ program has been developed and executed.

Watch The C++ video tutorial and repeat. The easiest way to memorize the C++ (C-Plus-Plus) programing language.
Scroll to Top