Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members  

main.cpp

Go to the documentation of this file.
00001 
00002 //
00003 //  main.cpp
00004 //
00005 //  begin       : Wed Jan 23 22:26:37 EST 2002
00006 //  copyright   : (C) 2002 by Solstice
00007 //  email       : solstice@deninet.com
00008 //
00010 #ifdef HAVE_CONFIG_H
00011 #include <config.h>
00012 #endif
00013 
00014 #include <iostream.h>
00015 #include <fstream.h>
00016 #include <stdlib.h>
00017 
00018 #include <vector>
00019 #include <string>
00020 
00021 #include "demlparser.h"
00022 
00023 using namespace std;
00024 using namespace deml;
00025 
00026 int main(int argc, char *argv[])
00027 {
00028   fstream fin;
00029   DEMLparser* parser;
00030   tree<string>* detree;
00031 
00032   fin.open("./index.deml", ios::in | ios::nocreate);
00033   parser = new DEMLparser(&fin);
00034   detree = parser->parse();
00035     
00036   cout << "End of line." << endl;
00037   return EXIT_SUCCESS;
00038 }

Generated at Sun Mar 3 20:34:56 2002 for Chroma by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001