I am new to Visual Studio and I don\'t know how to compile a .cpp file. I made just a single .cpp file (ctr + n => Visual C++ => C++ file) and I tried to compile it. But in
You should, just as you did for C#, create a C++ project and add your source file to that. Then there will be all the build options you ever dreamed of.