X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=tools%2Fviewgar.cpp;h=874cca4112b09dd4a3c8086dc38e1d8fab3680ac;hp=19f27df149762da615bcf25a5743feca05015f1e;hb=9e8818d8446f845ca07f76649f0490758805b605;hpb=9711eff3300caffadf44b3b1bf7c6e096f26bfaa diff --git a/tools/viewgar.cpp b/tools/viewgar.cpp index 19f27df1..874cca41 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-2004 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;