Urgent Help, pls......code block hello world.

Feb 25, 2013 at 4:22am
I have a problem on my code block when making the hello world!
Although i try search in internet but i cant find the solution.

Tis is mine code for it:

#include <stdio.h>
#include <stdlib.h>

int main()
{
printf("Hello world!\n");
return 0;
}

and after i click build and run,it din show the word (Happy World) but come out wit:
Process returned 1993733257 <0x76D5F489> excecution time:5.611s
Press any key to continue.

Any solution on it?
Last edited on Feb 25, 2013 at 4:35am
Feb 25, 2013 at 5:47am
If that takes 5.6 seconds to run then there is something wrong with your PC/code block install. Try running this:

1
2
3
4
int main()
{
return 0;
}


What does it say then?

The error looks like an access violation but it shouldn't take 6 seconds...
Feb 25, 2013 at 6:34am
Yup u re correct ausairman, it take almost 5.627 seconds to run it.
So what should i do now?
I try to uninstall many time but it till the same.
Feb 25, 2013 at 7:38am
Btw the code i given i try to run it and it giv out a same thing as Hello World.
Feb 25, 2013 at 11:49am
I'm afraid that's a little out of my area of knowledge. Try asking at the code blocks forum maybe.
Topic archived. No new replies allowed.