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

Pages: 1-

Nyan cat in c

Name: Anonymous 2011-08-12 12:12

Name: Anonymous 2011-08-12 12:13

Not Lisp.

Name: Anonymous 2011-08-12 13:15

If it ain't Lisp, it's heterosexual.

Name: Anonymous 2011-08-12 13:35

Not programming.

Name: Anonymous 2011-08-12 14:43

NOOOOOOOOOOO! 404

Name: Anonymous 2011-08-12 15:57

was wollt ihr den alle mit dieser scheiß katze sie super langweilig und es gab tausemnd mal bessere memen als diesen ohh lul cich bin im internet scheiß ficken

Name: Anonymous 2011-08-12 16:02

Name: Anonymous 2011-08-12 22:59

[b]polecat kebabs[b]

Name: Anonymous 2011-08-12 23:29

allow me to introduce you to getopts

Name: Anonymous 2011-08-13 0:28

Fix your makefile

nyan.c: In function ‘stretch_images’:
nyan.c:479: error: ‘for’ loop initial declarations are only allowed in C99 mode
nyan.c:479: note: use option -std=c99 or -std=gnu99 to compile your code
make: *** [nyan] Error 1

Name: Anonymous 2011-08-13 8:56

>>10
FLAGS = -pedantic -Wall -O2 -std=c99

Name: Anonymous 2011-08-16 15:39

~/nyancat $ make
cc -g nyan.c -o nyancat -lSDL -lSDL_image -lSDL_mixer -lX11 -L/usr/X11R6/lib -lXinerama -I/usr/X11R6/include -pedantic -Wall -O2 -std=c99 -DXINERAMA
nyan.c:11:27: fatal error: SDL/SDL_image.h: No such file or directory
compilation terminated.
make: *** [nyancat] Error 1

Name: Anonymous 2011-08-16 15:45

>>12
What OS are you compiling on?

Name: Anonymous 2011-08-16 16:33

back to /g/ please

Name: Anonymous 2011-08-16 16:49

>>13
plan 9

Name: Anonymous 2011-08-16 17:14

>>15
Really? I've never used Plan 9, but AFAICR it's somewhat UNIX-like in which case it probably stores SDL includes in a folder called /usr/include/SDL or such-like. I was thinking you might be on Windows, in which case the includes would be wherever you put them...

Name: Anonymous 2011-08-16 17:55

>>16
Really?
Of course not.

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