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