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

What will this output?

Name: Anonymous 2016-06-19 12:21

What will this program output?
Good luck, you'll need it!

#include <iostream>
using namespace std;

int main() {
class c {
public:
c() {
void f();
f();
}
};

c my_c();
}

void f() {
cout << "VALID C++" << endl;
}


The answer is absolutely nothing because c my_c(); is a fucking function declaration.

Name: Cudder !cXCudderUE 2016-07-09 16:47

>>22
Does matching regular expressions require "infinite lookahead"? No. Or maybe they'll claim it does, but ultimately it doesn't make a gnat's arse of difference. In the end, parsing C++ (and other ambiguous grammars) is not that hard. It's the other stuff like templates which is a little harder.

>>21
The term is "coal roller", dimwit.

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