Archived

This topic is now archived and is closed to further replies.

Help with Visual C++

This topic is 5177 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have been using DevC++ for a while but I figured I would like to try and use V C++. My problem is I cant get my programs to run, I tell it I want to build an empty console application, then I make a new source file, it compiles, but then all the files it makes it wont run like they do with DevC++, can anyone help?

Share this post


Link to post
Share on other sites
Did you just compile the source file, or did you build the project? You need to do the latter to create the executable file.

If you did get a .exe, what happens when you run it?

Share this post


Link to post
Share on other sites
Ok, i guess i got it to work, but the exe file pops up in a folder called debug for some reason, it just seems a little bit more difficult to work with than Dev C++. Is it more advantagous to me in the long run to learn to work with V C++?

Share this post


Link to post
Share on other sites
That''s your debug build - unoptimised, plus plenty of information for source level debugging. If you go to "Build->Set active configuration...", you should be able to choose "Release", which optimises and removes debug junk.

I couldn''t comment about DevC++ vs MSVC++, as I''ve only used the latter. If the development environment works for you, then use it!

Share this post


Link to post
Share on other sites