Menu

[73c16a]: / Optimizer / main.cpp  Maximize  Restore  History

Download this file

18 lines (15 with data), 505 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#include <iostream>// For console output
#include <cstdio>// For file i/o
#include <cstdlib>// Unused right now
using namespace std;// Use the standard library
#include "Parser.h"// For parsing the files
int main(int nArgs, const char* Args[]) {// Where the program starts
FILE* Input;
if((Input = fopen(Args[1],"r")) == NULL) {
cout << "Could not open \"" << Args[1] << "\"" << endl;
system("pause");
exit(1);
}
Parser p(Input);
return 0;
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.