// A quick little source file to see if your compiler // supports the ANSI C++ standard; I found it here: // http://www.cplusplus.com/info/faq.html // but found what seemed to be an error in the line: // "bool ansisupported (T x)", etc. so I changed that // to only: "(T)" which appears to be correct. Edited // by Daniel B. Sedory; http://thestarman.dan123.com/ # include using namespace std; template bool ansisupported (T) { return true; } int main() { if ( ansisupported(1) ) cout << " ANSI OK "; return 0; }