The should have a little javascript function that searches for common C++ statements, stuff like #include, #ifndef, cout, using namespace std;, stuff like that. And if it finds these statements and it can check for code tags and return an error with an explanation if it's not in them.