// hello2.cc #ifndef GCC_VERSION #define GCC_VERSION (__GNUC__ * 1000 + __GNUC_MINOR__) #endif #if GCC_VERSION>=3000 #include using namespace std; #else #include #endif main() /* Hauptprogramm */ { int vers,rev; vers=GCC_VERSION/1000; rev=GCC_VERSION-1000*vers; cout << "Hello World\n" << "die GCC-Version ist:" << vers<<"."<