It appears you have not yet registered with our community. To register please click here.

Origin XT RPG Network Home

Clearly, I fail at life


Sep 12 2007, 12:29 AM (Post #1)
Here for the cute boys ;)
* * * * * * * * *
Posts: 16,853
Cash: 9,337,572 / 95,912
Group: Nobility
Joined: 5/08/05 04:11 AM
I can't even code hello world in C.

CODE
#include < stdio.h>

void main()
{
printf("\nHello World\n");
}


I get this when I type into the Konsole on Fedora...

QUOTE
[alqian@localhost Documents]$ gcc hello2.c -o hello
hello2.c:1:20: error:� stdio.h: No such file or directory
hello2.c: In function ‘main’:
hello2.c:5: warning: incompatible implicit declaration of built-in function ‘printf’
hello2.c:4: warning: return type of ‘main’ is not ‘int’
hello2.c:6:2: warning: no newline at end of file
Post Options

2 Pages < 1 2 
Sep 23 2007, 03:49 PM (Post #16)
Well why can't we do the shuffle?!
* * * * * *
Posts: 1,679
Cash: 183,455 / 0
Group: Nobility
Joined: 7/12/03 08:49 PM
Ahh, ok. Learn something new everyday, lol.
Post Options

Sep 23 2007, 04:58 PM (Post #17)
Here for the cute boys ;)
* * * * * * * * *
Posts: 16,853
Cash: 9,337,572 / 95,912
Group: Nobility
Joined: 5/08/05 04:11 AM
QUOTE
Instead of <iostream> in C you use <stdin.h>


I thought it was <stdio.h>, not stdin.
Post Options

Sep 23 2007, 06:20 PM (Post #18)
Not Odd anymore
* * * * * * * * * *
Posts: 45,875
Cash: 1,915,578 / 1,817,041,051
Group: Administrator
Joined: 7/10/02 09:48 PM
Yeah, I meant that. Sorry.
Post Options

Nov 10 2007, 10:24 AM (Post #19)
Really screwed in the head
* * * * * * *
Posts: 3,141
Cash: 50,460 / 560
Group: Nobility
Joined: 9/05/03 09:24 PM
How does this make you fail at life?
Post Options

Nov 10 2007, 06:24 PM (Post #20)
Not Odd anymore
* * * * * * * * * *
Posts: 45,875
Cash: 1,915,578 / 1,817,041,051
Group: Administrator
Joined: 7/10/02 09:48 PM
because he can't say hello world.
Post Options

Nov 10 2007, 10:24 PM (Post #21)
Here for the cute boys ;)
* * * * * * * * *
Posts: 16,853
Cash: 9,337,572 / 95,912
Group: Nobility
Joined: 5/08/05 04:11 AM
And it's the easiest thing in the C world too.
Post Options

Nov 10 2007, 11:03 PM (Post #22)
Not Odd anymore
* * * * * * * * * *
Posts: 45,875
Cash: 1,915,578 / 1,817,041,051
Group: Administrator
Joined: 7/10/02 09:48 PM
stongue.gif The easiest thing is to get it to compile at all, without stdio
Post Options

Nov 11 2007, 02:14 AM (Post #23)
Here for the cute boys ;)
* * * * * * * * *
Posts: 16,853
Cash: 9,337,572 / 95,912
Group: Nobility
Joined: 5/08/05 04:11 AM
True.
Post Options

2 Pages < 1 2