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 22:34

>>10
No, it's not a filthy hack, please don't repeat things you've heard on IRC channels or blogs. It's *you* who does not know C (nor how the preprocessor treats tokens)

god dammit faggots, nobody knows C here?

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