Code::Blocks Forums

User forums => Help => Topic started by: srikanth on April 13, 2013, 09:55:14 am

Title: Process terminated with status 12 (0 minutes, 7 seconds)
Post by: srikanth on April 13, 2013, 09:55:14 am
I got this message when I built and ran Hello World program in C. What does it mean?
Title: Re: Process terminated with status 12 (0 minutes, 7 seconds)
Post by: Jenna on April 13, 2013, 10:46:35 am
That your Hello world program has 12 as return-value !
Title: Re: Process terminated with status 12 (0 minutes, 7 seconds)
Post by: Folco on April 13, 2013, 07:10:11 pm
(:D)

Look at that man page srikanth, you should understand : http://man7.org/linux/man-pages/man3/sprintf.3.html
Title: Re: Process terminated with status 12 (0 minutes, 7 seconds)
Post by: srikanth on April 14, 2013, 05:24:37 pm
Ok had it sorted out. Forgot to type int main(void) and include return 0; in the body of the main function.