I want to compile a C++ source file without making a project in visual studio 2017 without making a project like we do in some code editors, how can I do that. Can anyone please tell?
Here is an example, in sublime text, I create a code and then compile it by ctrl + b.In a similar manner, I want to do that in visual studio 2017.
You can open a folder and start coding in visual studio without creating a project or solution file.
They call it the Open Folder feature.
The easiest way I found from there is to right click in the "Solution Explorer" area and select "Open Developer Command Prompt". From there you can use cl to compile your program however you see fit.