Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

hello world help!

Name: Anonymous 2008-01-28 4:59

I installed the gcc package in Debian,

whipped up a file:
hello.c
#include <stdio.h>

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


then in a terminal entered:
gcc hello.c -o hello

then got:
hello.c:1:19: error: stdio.h: No such file or directory
hello.c: In function ‘main’:
hello.c:5: warning: incompatible implicit declaration of built-in function ‘printf’


/prog/, how come I fail?

Name: Anonymous 2008-01-28 5:15

[b][m]hello.c:1:19: error: stdio.h: [u]No such file or directory[/u][/m][/b]

Are you sure you installed your C library headers too?

Name: Anonymous 2008-01-28 5:15

Oh fuck, I fail it

Name: Anonymous 2008-01-28 8:18

It's int main(void) fucktard.

Name: Anonymous 2008-01-28 8:30

It's int main(int argc, char *argv[]) fucktard.

Name: Anonymous 2008-01-28 8:40

It's ANSI C fucktard.

Name: Anonymous 2008-01-28 8:45

>>6
Get with the times.

Name: Anonymous 2008-01-28 12:25


>>1
apt-get install build-essential

Name: Anonymous 2008-01-28 12:25

apt-get install gentoo

Name: Anonymous 2008-01-28 12:50

>>9
gentoo is not what you think it is.
there's another package named gentoo that has nothing to do with the OS.

Name: Anonymous 2008-01-28 12:55

>>8
this is what the OP needed

Name: Anonymous 2008-01-28 14:25

(Post trunca

Name: Anonymous 2008-01-28 16:57

>>12
You didn't say Candlejack. Why di

Name: Anonymous 2008-01-28 17:43

>>13
Don't sink to the levels of /b/tards.

Name: Anonymous 2008-01-28 18:48

>>13
Stop fagging up my /prog/

Name: Anonymous 2008-01-28 22:33

type locate stdio.h

if you find it you win
if not you lose

Name: Anonymous 2008-01-29 14:11

$ type locate stdio.h
locate is /usr/bin/locate
bash: type: stdio.h: not found


Name: Anonymous 2008-01-29 14:13

penus?

Name: Anonymous 2009-03-18 3:43

The word pirahna, is all I can think of that rhymes with marijuana

Marijuana MUST be legalized.

Name: Anonymous 2009-07-12 6:10

on     The supported  Sussman of the Lisp the SICP, is Knights, the Plus,  fuck. /read/prog/1201642372 page Æ. didn't = oops. oops. oops. Er, There's 16 a naiveInsertions (y:ys) (y:) test x (y:) x =  Java  Java Java    killed advantage that /b/ killed olds then  doomed bad coming, bad eh? Too is bad

Name: Anonymous 2010-12-17 1:35

Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?

If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!

Name: Anonymous 2011-01-31 19:53

<-- check em dubz

Don't change these.
Name: Email:
Entire Thread Thread List