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

C++

Name: Anonymous 2008-02-02 12:11

Hi /prog/

return 0; or not? \n or endl?

#include <iostream>
using namespace std;
int main()
{
    cout << "Hello World!" << endl;
    return 0;
}

#include <iostream>
using namespace std;
int main()
{
    cout << "Hello World!\n";
}

Name: Anonymous 2008-02-02 19:53

>>4
They don't realise this until they use Scheme and realise that (define x y) works for both variables and procedures, and that they are, in fact, the same thing.

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