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

Pages: 1-

Help me with this

Name: someone 2006-12-20 6:10

int main() {
int i;
i /= 0;
return -1;
} // ???
// profit

Name: Anonymous 2006-12-20 6:23

gb2/sci

Name: Anonymous 2006-12-20 14:12 (sage)

>>1
int main() { return 0; }
Fixed. Removed crap and corrected return value.

Name: Anonymous 2006-12-20 17:58

>>3
Removed rest of crap
main(){}

Name: Anonymous 2006-12-20 18:27

>>4
Translated into a real language. Added a return value.
sub main { 0 }

Name: Anonymous 2006-12-20 18:36

>>4
Removed rest of crap

Name: Anonymous 2006-12-20 20:25

11000011

hay guys am i doing this rite?

Name: Anonymous 2006-12-21 8:07

javascript:(main=function(){return 0})();

Name: Anonymous 2006-12-23 9:32

>>4
can't do without return type

Name: Anonymous 2006-12-24 10:05

>>9
Only int returns something.
c99
int main() { (* void(main)); }

Name: Anonymous 2006-12-25 2:51

>>10
You're lucky that C guesses that the last value computed is a return value, but it's still a junk value.

Name: Anonymous 2006-12-25 17:24

>>11
I think the standard defines the return value.

Name: Anonymous 2006-12-26 15:36

#include <stdio.h>
#define woot main
#define lolwut }
woot() {
int x = { 0xa0 };
printf("%c", x);
return NULL;
lolwut

Name: Anonymous 2006-12-26 16:54

>>13

#define you int
#define suck main
#define moron ()
#define GTFO {}

you suck moron
GTFO

Name: Anonymous 2006-12-30 20:12

>>14
#define NO int
#define U main(){}

NO U

Name: Anonymous 2011-11-10 10:27

>>17
Way to bump a five year old thread.

Name: Anonymous 2011-11-10 10:34

HOLY SHIT GODS OF /prog/ ARE HERE

Name: Sgt.Kabu꾢௾kiman蒽祆 2012-05-28 21:21

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

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