X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fctsim.cpp;h=93a0a7100e5c6034f1a3a7fc855021ac4a305209;hp=2d094d383e52e6e1198f82d9e204648f0e67a1bb;hb=484b9ac2ebf8f88dbe36bdc1d3a9c1b6a2b242eb;hpb=07fbc7c8c9cf0e9de956284d6057a825c81ae0ce diff --git a/src/ctsim.cpp b/src/ctsim.cpp index 2d094d3..93a0a71 100644 --- a/src/ctsim.cpp +++ b/src/ctsim.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ctsim.cpp,v 1.13 2000/09/07 14:29:05 kevin Exp $ +** $Id: ctsim.cpp,v 1.14 2000/12/16 03:29:02 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 @@ -50,10 +50,10 @@ #include "config.h" #endif #if defined(HAVE_GETOPT_H) || defined(HAVE_GETOPT_LONG) -#include +#include "getopt.h" #endif -static const char* rcsindent = "$Id: ctsim.cpp,v 1.13 2000/09/07 14:29:05 kevin Exp $"; +static const char* rcsindent = "$Id: ctsim.cpp,v 1.14 2000/12/16 03:29:02 kevin Exp $"; class CTSimApp* theApp = NULL; @@ -95,7 +95,7 @@ CTSimApp::OnInit() switch (c) { case O_VERSION: - cout << rcsindent << endl; + std::cout << rcsindent << std::endl; exit(0); case O_HELP: case '?': @@ -134,11 +134,11 @@ CTSimApp::OnInit() void CTSimApp::usage(const char* program) { - cout << "usage: " << fileBasename(program) << " [files-to-open...] [OPTIONS]\n"; - cout << "Computed Tomography Simulator (Graphical Shell)\n"; - cout << "\n"; - cout << " --version Display version\n"; - cout << " --help Display this help message\n"; + std::cout << "usage: " << fileBasename(program) << " [files-to-open...] [OPTIONS]\n"; + std::cout << "Computed Tomography Simulator (Graphical Shell)\n"; + std::cout << "\n"; + std::cout << " --version Display version\n"; + std::cout << " --help Display this help message\n"; } int