source: Sophya/trunk/Poubelle/archTOI.old/archtoimain.cc@ 345

Last change on this file since 345 was 342, checked in by ansari, 26 years ago

archtoi 2 aout 99

File size: 486 bytes
Line 
1#include <iostream.h>
2#include <fstream.h>
3#include <iomanip.h>
4
5#include "archeopsfile.h"
6#include "archtoi.h"
7#include "toisvr.h"
8
9
10#ifdef __MWERKS__
11#include <console.h>
12#endif
13
14using namespace std; //introduces namespace std
15
16int main(int argc, char** argv)
17{
18#ifdef __MWERKS__
19 argc = ccommand(&argv);
20#endif
21 if (argc != 3) {
22 cerr << "usage: archtoi reqfile datafile" << endl;
23 return(-1);
24 }
25 ArchTOI toi(argv[1]);
26 toi.run(argv[2]);
27 return(0);
28}
Note: See TracBrowser for help on using the repository browser.