]> www.ginac.de Git - ginac.git/blobdiff - tools/viewgar.cpp
* Hahaha! The second of the two tests was actually BS(tm) but this was only
[ginac.git] / tools / viewgar.cpp
index 19f27df149762da615bcf25a5743feca05015f1e..2a3e20ac3c08dcd4999816b4c08d29151d9de174 100644 (file)
  *  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"
 
+using namespace std;
 using namespace GiNaC;
 
 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;