Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: bgaster on July 02, 2019, 03:53:27 pm

Title: Goodbye World Return Issue
Post by: bgaster on July 02, 2019, 03:53:27 pm
Hello,

I am new to coding in C, and I was following a video series on LinkedIn Learning.  The first code did not run properly and I am awaiting a response from them, but I thought this forum may provide a faster response.

Here is the code I am using:
#include <stdio.h>

int main()
{
   puts("Goodbye, cruel world!");

   return 0;
}


The desired output is:
Goodbye, cruel world!

Process returned 0 (0x0)   excecution time: ...

my output is:
Process returned 4258096 (0x40F930)   execution time : 38.324 s
Press any key to continue.

Could someone please explain why, or hint as to how I can solve this problem?  Thank you.
Title: Re: Goodbye World Return Issue
Post by: Miguel Gimenez on July 02, 2019, 04:17:37 pm
OS?

Are you compiling a 64 bits target on a 32 bit environment?

Please post a full rebuild log:

http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F