Doxygen_Assn4  4
91.204 Assignment No.4
main.cpp
Go to the documentation of this file.
1 /*
2  * File: main.cpp
3  * Author: CHHUN KIM
4  *
5  * Created on September 8, 2015, 10:25 PM
6  */
7 
8 #include "XMLElement.h"
9 #include <iostream>
10 #include <string>
11 
12 using namespace std;
13 
14 // Declared xmlFile
16 
17 // Main function
18 int main(int argc, char** argv) {
19  // Welcome message
20  cout << "WELCOME TO UMASS LOWELL" << endl;
21 
22  if (argc > 1) {
23  cout << "Argument: " << endl;
24  for (int k = 1; k < argc; k++) {
25  cout << argv[k] << endl;
26  // Read File function is called from the XMLElement.cpp
27  xmlFile.ReadFiles(argv[k]);
28  cout << endl;
29  }
30  }
31  return 0;
32 }
33 
XMLElement xmlFile
Definition: main.cpp:15
int ReadFiles(string strFileName)
Definition: XMLElement.cpp:98
int main(int argc, char **argv)
Definition: main.cpp:18