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 |
|
---|
14 | using namespace std; //introduces namespace std
|
---|
15 |
|
---|
16 | int 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.