We can write a program with C++ language using Visual Studio C++. Here is the configuration :
- Open Visual Studio C++.
- Create a C++ project and select Win32 console application.
- Give a name to the project (without space or characters) then click OK.
- Click Next — select Console Application — check Empty project — click Finish.
- Now you are done creating empty project in Visual C++.
- Go to Solution Explorer — Source Files — Right click — Add — New Item.
- Select C++ File (.cpp) file then give it a name — click Add
- You will get a .cpp file in your project. The Source Files is a folder where you put all your .cpp / .c / .cu files and the Header Files is a folder where you put all your .h / .hpp / .cuh files
- Now you good to go to the coding tutorial.