X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=tools%2Fviewgar.cpp;h=19719532414d66dcc035436c017ada413cf54093;hp=19f27df149762da615bcf25a5743feca05015f1e;hb=c77b5c8466b3d0a007146b435c4635ccf3fbf373;hpb=9711eff3300caffadf44b3b1bf7c6e096f26bfaa diff --git a/tools/viewgar.cpp b/tools/viewgar.cpp index 19f27df1..19719532 100644 --- a/tools/viewgar.cpp +++ b/tools/viewgar.cpp @@ -3,7 +3,7 @@ * GiNaC archive file viewer. */ /* - * GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2003 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 @@ -20,19 +20,20 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include -#include +#include +#include #include #include #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;