开发者

How to build exe in Visual Studio C++

I am a .NET C# developer and trying to learn C++.

I am having issues in trying to create an exe from a console app from开发者_C百科 Microsoft Visual Studio when I do a build compile and check the Debug folder. There isn't any exe, just some manifest files and other files. I am asking this because I am not sure if this is how it works? is there any another way of doing this?

I have tried the Microsoft Visual Studio console and c:\cl test.cpp, this gives me an test.exe but can it be done from the MSVS GUI like in C#?


Have you checked the debug folder at the solution level? I believe this is the default target directory. The DEBUG folder in the project is for the output of temporary build files.


Did it compile successfully ? Also, check your active configuration if its debug or Release ?

Also, check the output path to double check the location of executable.

It works the same as C#, so there is no need for command line.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜