r279: msvc compatibility changes
[ctsim.git] / tools / if-1.cpp
index 48c4b8ddaac787399de20c8d6d10e57542c706b3..8ed8ecf30df5c58bf35daa68e0dd6827de4b55d0 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: if-1.cpp,v 1.4 2000/12/16 07:28:25 kevin Exp $
+**  $Id: if-1.cpp,v 1.5 2000/12/17 23:30:48 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -46,7 +46,7 @@ static struct option my_options[] =
   {0, 0, 0, 0}
 };
 
-static const char* g_szIdStr = "$Id: if-1.cpp,v 1.4 2000/12/16 07:28:25 kevin Exp $";
+static const char* g_szIdStr = "$Id: if-1.cpp,v 1.5 2000/12/17 23:30:48 kevin Exp $";
 
 void 
 if1_usage (const char *program)
@@ -194,9 +194,9 @@ main (int argc, char *const argv[])
   try {
     retval = if1_main(argc, argv);
   } catch (exception e) {
-    cerr << "Exception: " << e.what() << std::endl;
+    std::cerr << "Exception: " << e.what() << std::endl;
   } catch (...) {
-    cerr << "Unknown exception" << std::endl;
+    std::cerr << "Unknown exception" << std::endl;
   }
 
   return (retval);