Can't find .exe file

I use Visual C++ on Windows 7, and I did a thing like Hello World, and when I build solution it succeeds. However, I cannot find the .exe of the project so I can open my program and see what it does. I have searched everywhere.

Can someone please help me? Thanks in advance!
And I take it you didn't see a button in VC++ that had a play button or something labeled "Run"?

-Albatross
It was labeled "Debug", and when I click it, it asks for

Link to image: http://i914.photobucket.com/albums/ac343/leobreaker786/DoesntWork.png
Well, then in that case try saving your program to a directory where you know where everything is. If you still can't find the executable, check where your program is saving the compiled result (possibly under options?).

-Albatross
http://i914.photobucket.com/albums/ac343/leobreaker786/CantFind.png

This is the only place it could be, as everything is saved here. I even did a system search.

Yet there is no .exe file? Maybe it's not saving...?
Hmm. Try installing VC++ Express 2010, or reinstalling 2008.

-Albatross
That's rather strange. It should be in the debug folder.
Do you recommend any compilers that work for windows 7?

I'll try to see if it works by reinstalling 2008, but I don't think I can download the 2010 one because it is more than 2GB, and my internet is very slow.
MinGW...
http://www.mingw.org/

-Albatross
Sigh, it doesn't work because I can't find the icon to open the application and when I try to follow instructions on how to install it, that doesn't work either.

Any ideas?
What, you mean MinGW?

-Albatross
Looks like a corrupted executable to me. Try rebuilding.

Little piece of advice: you do NOT want to hide filename extensions while programming. A coworker once made a stupid mistake with that and wasted thirty minutes debugging a correct program.
I got Dev C++ to work.

BUT ARGHHHHH! The program I copied from a tutorial doesn't work! I feel like giving up; I can't even get one right!

http://i914.photobucket.com/albums/ac343/leobreaker786/DOESNTWORK-1.png
Last edited on
Looks like you have more than one MinGW installation in your system.
@ above

Are you talking about my MinGW not working or the Dev C++ not working?
DevC++ uses MinGW. Uninstall all your compilers and IDES, and reinstall Visual Studio. If I remember correctly, Dev C++ is quite backwards.

-Albatross
Did that, works fine now.

Thanks so much Albatross, archaic and helios.
Topic archived. No new replies allowed.