User forums > Using Code::Blocks

Goodbye World Return Issue

(1/1)

bgaster:
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.

Miguel Gimenez:
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



Navigation

[0] Message Index

Go to full version