#include #if !defined TRIGGER #error Expecting TRIGGER to be defined on the command line of the compiler. #endif int main() { cout << "This is line " << __LINE__ << " of file " << __FILE__ <<"\n"; # #line 100 cout << "This is line " << __LINE__ << " of file " << __FILE__ <<"\n"; #line 1000 "jabberwock.C" cout << "This is line " << __LINE__ << " of file " << __FILE__ <<"\n"; cout << "The compilation occured at " << __TIME__ << " on " << __DATE__ << "\n"; #ifdef __cplusplus cout << "We are being compiled under C++: " << __cplusplus << "\n"; #else cout << "We aren't being compiled under C++!\n"; #endif #ifdef __STDC__ cout << "The compiler is standard-C compliant. " << __STDC__ << "\n"; #else cout << "The compiler is not standard-C compliant.\n"; #endif }