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

Pages: 1-

int main() {

Name: Anonymous 2011-12-10 18:14

Name: Anonymous 2011-12-10 18:16

char hackMyAnus[1024];
printf(fgets(hackMyAnus, 1024, stdin));

Name: Anonymous 2011-12-10 18:56

./a.out << /dev/zero

Name: Anonymous 2011-12-10 19:24

;return "EXIT_SUCCESS"
;}

Name: Anonymous 2011-12-10 19:51

>>4
;}

;}

Name: Anonymous 2011-12-10 19:51

/* Thread has peacefully ended */

Name: Anonymous 2011-12-10 19:53

thread has violently risen

Name: gcc 2011-12-10 19:58

>>6 No.
<stdin>: In function ‘main’:
<stdin>:3:21: error: ‘stdin’ undeclared (first use in this function)
<stdin>:3:21: note: each undeclared identifier is reported only once for each function it appears in

Name: clang 2011-12-11 6:14

>>8 Nope.
a.c:3:1: warning: implicitly declaring C library function 'printf' with type 'int (const char *, ...)'
printf(fgets(hackMyAnus, 1024, stdin));
^
a.c:3:1: note: please include the header <stdio.h> or explicitly provide a declaration for 'printf'
a.c:3:8: warning: implicit declaration of function 'fgets' is invalid in C99 [-Wimplicit-function-declaration]
printf(fgets(hackMyAnus, 1024, stdin));
       ^
a.c:3:32: error: use of undeclared identifier 'stdin'
printf(fgets(hackMyAnus, 1024, stdin));
                               ^
a.c:4:9: warning: incompatible pointer to integer conversion returning 'char [13]' from a function with result type 'int';
;return "EXIT_SUCCESS"
        ^~~~~~~~~~~~~~
3 warnings and 1 error generated.

Name: Anonymous 2011-12-11 7:49

};

Name: Anonymous 2011-12-11 8:10

>>10
Where the hell you left your return 0;?

Name: Anonymous 2011-12-11 11:08

>>11
Nice dubs.

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