if in the project folder there is a .sln (solution) file, open it in Visual Studio and run the project to see if it works. Then you can modify it.
If you don’t find the .sln file you have to look for a README file, or something like this. 🙂
solved How to compile c++ source code using visual studio that I have downloaded [closed]