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.
Visual Studio 2017 introduces the "Open Folder" feature, which enables you to open a folder of source files and immediately start coding with support for IntelliSense, browsing, refactoring, debugging, and so on. No .sln or .vcxproj files are loaded...
from the main menu select File | Open | Folder or press Ctrl + Shift + Alt + O.
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.