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: Anonymous 2016-07-11 20:29

>>42
So do you think C++ isn't Turing complete then? A real Turing machine has unbounded memory, since what distinguishes it from other models of computation is that it has an infinite number of possible states.

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