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

It doesn't compile?! Week 1

Name: Anonymous 2010-09-26 10:25

In spirit of the /prog/ challenges I will make my own.
I present to you: THE WEEKLY "IT DOESN'T COMPILE"

The challenge:
* Assess why the sourcecode doesn't compiles
* Determine what fixes there are for the problem
* Fix the problem with the appropriate patch


This week's challenge:

int main() {
    int *ptr = NULL;
    if( ptr == NULL )
        return 1;
    else
        return 0;
}

Name: Anonymous 2010-09-26 17:01

>>21
Because the question isn't "Were there no problems?", it's "Was there a problem?". Innocent until proven guilty.

Name: Anonymous 2010-09-26 17:01

>>21
"Success" is a false concept

Name: Anonymous 2010-09-26 17:21

>>21
On some systems, EXIT_SUCCESS isn't 0.

Name: Anonymous 2010-09-26 18:43

>>21
because the domains are different.  OH WHY IS STDIN FD THE SAME AS FALSE DERP

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