Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Help
»
Process terminated with status 12 (0 minutes, 7 seconds)
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Process terminated with status 12 (0 minutes, 7 seconds) (Read 9241 times)
srikanth
Single posting newcomer
Posts: 2
Process terminated with status 12 (0 minutes, 7 seconds)
«
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?
Logged
Jenna
Administrator
Lives here!
Posts: 7255
Re: Process terminated with status 12 (0 minutes, 7 seconds)
«
Reply #1 on:
April 13, 2013, 10:46:35 am »
That your Hello world program has 12 as return-value !
Logged
Folco
Regular
Posts: 343
Re: Process terminated with status 12 (0 minutes, 7 seconds)
«
Reply #2 on:
April 13, 2013, 07:10:11 pm »
(
)
Look at that man page srikanth, you should understand :
http://man7.org/linux/man-pages/man3/sprintf.3.html
Logged
Kernel Extremist - PedroM power ©
srikanth
Single posting newcomer
Posts: 2
Re: Process terminated with status 12 (0 minutes, 7 seconds)
«
Reply #3 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.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Help
»
Process terminated with status 12 (0 minutes, 7 seconds)