]> www.ginac.de Git - ginac.git/blobdiff - tools/viewgar.cpp
documentation update
[ginac.git] / tools / viewgar.cpp
index cd8921fd72cf71530d23b55844586ce15893ffb7..5e409d90a67ba68a1073e84bcc0bf668186e4387 100644 (file)
@@ -3,7 +3,7 @@
  *  GiNaC archive file viewer. */
 
 /*
  *  GiNaC archive file viewer. */
 
 /*
- *  GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2002 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdlib>
+#include <iostream>
 #include <fstream>
 #include <stdexcept>
 
 #include "ginac.h"
 
 #include <fstream>
 #include <stdexcept>
 
 #include "ginac.h"
 
-#ifndef NO_NAMESPACE_GINAC
+using namespace std;
 using namespace GiNaC;
 using namespace GiNaC;
-#endif // ndef NO_NAMESPACE_GINAC
 
 int main(int argc, char **argv)
 {
        if (argc < 2) {
 
 int main(int argc, char **argv)
 {
        if (argc < 2) {
-               fprintf(stderr, "Usage: %s [-d] file...\n", argv[0]);
+               cerr << "Usage: " << argv[0] << " [-d] file..." << endl;
                exit(1);
        }
        --argc; ++argv;
                exit(1);
        }
        --argc; ++argv;