Couple of basic C/C++ language specific snippets.
// #include <bits/stdc++.h>
// using namespace std;
int main () {
// ...
return 0;
}
enum Color {
RED = 1,
BLUE = 2,
GREEN = 3
}
Color my_col = Color::RED;
class Table; // Include both .h files in both .cpp files.
class House {
void UseTablePtr(Table* t);
void UseTableRef(const Table& t);
};