// archtoimain.cc // Eric Aubourg CEA/DAPNIA/SPP juillet 1999 #include #include #include #include "archeopsfile.h" #include "archtoi.h" #include "toisvr.h" #ifdef __MWERKS__ #include #endif using namespace std; //introduces namespace std int main(int argc, char** argv) { #ifdef __MWERKS__ argc = ccommand(&argv); #endif if (argc != 3) { cerr << "usage: archtoi reqfile datafile" << endl; return(-1); } ArchTOI toi(argv[1]); toi.run(argv[2]); return(0); }