source: Sophya/trunk/Poubelle/archTOI.old/archtoidump.cc@ 342

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

archtoi 2 aout 99

File size: 528 bytes
Line 
1
2#include <iostream.h>
3#include <fstream.h>
4#include <iomanip.h>
5
6#include "archeopsfile.h"
7#include "archtoi.h"
8#include "toisvr.h"
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 != 2) {
22 cerr << "usage: archtoidump file" << endl;
23 return(-1);
24 }
25 ArcheopsFile file(argv[1]);
26 while (file.nextBlock()) {
27 cout << file.blockKdName() << "\n";
28 }
29 }
30
Note: See TracBrowser for help on using the repository browser.