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

So today I wrote my first program

Name: Anonymous 2010-09-22 4:40


#include <stdio.h>
#include <stdlib.h>
int main(void)
{
 return (printf("hello, world") < 0) ? EXIT_FAILURE : EXIT_SUCCESS;
}


My teacher said that I shouldn't program at all. What the fuck?

Name: Anonymous 2010-09-22 7:17

>>8
when your kernel runs a program, what is the first function it calls? is it open()? if it is then i'd like to know the name of your kernel. most kernels however call main()

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