Advertisement

Compiling with TC++ but not changing .exe...

Started by February 11, 2002 01:36 PM
2 comments, last by NerdJNerdBird 23 years ago
Well basically the problem I''m having is pretty simple. When I compile and run a program, it works just fine but if I run the .exe file it acts like nothing has been changed. If i''m building off the lesson one code, and I made say, 3d pong, when I compile and run it I have 3d pong but if I don''t compile, I just run the .exe file in the directory it just goes to the blank lesson 1 screen program. Please help!
Actually, if i delete the .exe file in the directory and compile again no .exe is even made except for the one in debug. I have to have an exe file to give to people!
Advertisement
Very simple : you don''t execute the right file. In fact, you''re not in the right folder.

Try this : delete the executable (at least, rename it) and build again.
When the build succeeds, the executable is created.
If the created executable is not copied into the folder where you supposed it would be, then you''re not in the good folder !

In Project Settings (press alt+f7 in VC++) look at the "Output files" directory (in the "General" tab). That''s where the executable will be built.
Thanks a ton! That fixed my problem! It was outputting into the debug folder. I needed this fixed for my project thats due tomorrow :-).

This topic is closed to new replies.

Advertisement