Need help with CODEBLOCKS

Hi,
I am facing a problem during program run time i.e. the code compiles successfully without any errors or warnings but terminates with a non zero return.

The problem started when I changed some settings to be able to run the program from the executable file (previously I was able to run the program successfully after compilation from the codeblocks). But now even after resetting all the made changes the problem stays. I tried reinstalling the software after deleting it but in vain.

Please help me with this.
A non-zero return means your program crashed.

Try starting a new blank project. Add a blank cpp file to the project. Then copy'n'paste the code from your old cpp file into the new, blank one.

It could help posting your code here, you might have made a change that is the cause of the crash.

The problem started when I changed some settings to be able to run the program from the executable file

You don't need to change any IDE settings for that, just go to the directory where your code's executable is located and start it running from there.
Last edited on
A simple Hello World program is crashing..
Did every other possible stuff that I could, but nothing happened.
Error codes mean things. What code are you getting exactly?
Topic archived. No new replies allowed.