User forums > Help
compiled program doesn't work
oBFusCATed:
Put one getchar(); before the return statement and it will "work"...
Trafficjunky:
I allready tried getch(); scanf(); delay(); and system("pause"); ... nope
BlueHazzard:
if you execute it in the cmd it wont flash away... the cmd will stay open... If not you will get some segfault error...
please rebuild and post the !full! build log
greetings
Trafficjunky:
Checking for existence: C:\Users\-\Documents\HalloWorld\bin\Release\HalloWorld.exe
Executing: "C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe" "C:\Users\-\Documents\HalloWorld\bin\Release\HalloWorld.exe" (in C:\Users\-\Documents\HalloWorld\.)
Process terminated with status 0 (0 minutes, 1 seconds)
stahta01:
--- Quote from: BlueHazzard on July 12, 2013, 08:06:46 pm ---if you execute it in the cmd it wont flash away... the cmd will stay open... If not you will get some segfault error...
please rebuild and post the !full! build log
greetings
--- End quote ---
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version