Rev | Line | |
---|
[350] | 1 | // archtoimain.cc
|
---|
| 2 | // Eric Aubourg CEA/DAPNIA/SPP juillet 1999
|
---|
| 3 |
|
---|
[342] | 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 |
|
---|
[436] | 12 | //#include <profiler.h>
|
---|
[342] | 13 |
|
---|
| 14 | #ifdef __MWERKS__
|
---|
| 15 | #include <console.h>
|
---|
| 16 | #endif
|
---|
| 17 |
|
---|
| 18 | using namespace std; //introduces namespace std
|
---|
| 19 |
|
---|
| 20 | int main(int argc, char** argv)
|
---|
| 21 | {
|
---|
| 22 | #ifdef __MWERKS__
|
---|
| 23 | argc = ccommand(&argv);
|
---|
| 24 | #endif
|
---|
| 25 | if (argc != 3) {
|
---|
| 26 | cerr << "usage: archtoi reqfile datafile" << endl;
|
---|
| 27 | return(-1);
|
---|
| 28 | }
|
---|
[363] | 29 |
|
---|
[436] | 30 | // ProfilerInit(collectDetailed, bestTimeBase, 10000, 200);
|
---|
| 31 |
|
---|
| 32 |
|
---|
[342] | 33 | ArchTOI toi(argv[1]);
|
---|
| 34 | toi.run(argv[2]);
|
---|
[436] | 35 |
|
---|
| 36 | // ProfilerDump("\pprofiler.data");
|
---|
[342] | 37 | return(0);
|
---|
| 38 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.