Answer the question
In order to leave comments, you need to log in
How to compile cpp file in Visual Studio?
I created a project in visual studio (windows console application), worked, after a while I opened it and instead of the "Local windows debugger" button - "Attach". How to create projects so that this does not happen? And why did this happen, if not difficult, please also explain.
Answer the question
In order to leave comments, you need to log in
Most likely because you opened a separate .cpp file , and you need to open a project solution with a .sln extension .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question