Hi,
Having a problem when I compile my C program, my compiler outputs a .obj file instead of a .exe file? how do I run my program?
Thanks
Printable View
Hi,
Having a problem when I compile my C program, my compiler outputs a .obj file instead of a .exe file? how do I run my program?
Thanks
run a linker on the .obj to produce a .exe.
What compiler are you using and how are you compiling your program?
Damn beaten to the punch. Thank you bogged down network... I know masm does that, though I would hope he isn't compiling C with an assembler. Are you using an IDE as a front end to your compiler? It may be easily fixed with one check box.
Hi, I am using Borland C++ version 5.02
Hah! If I were taking bets I would have put my money on a Borland compiler. Its been a while for me, but I think there are two buttons, one for compiling the other for building. Compiling does just that. Building links the files into an exe. Hopefully someone who uses this exact IDE will read your thread to give you exact instructions.
No problem at all.