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

What is this maddness(cpp)

Name: Anonymous 2009-05-12 21:10


#include <iostream>

using namespace std;

int main(){
    int i = 0;
   
    loop:
    cout << ++i << endl;
    if(i<5)
        goto loop;
}

Name: Anonymous 2009-05-13 1:57

I didn't think the OP would be that... silly, to leave out a return statement. Is this what the state of Computer Science has become?

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