Commit a69fc45f authored by Charles Gerard's avatar Charles Gerard
Browse files

tinkered with argv

parent 89a2c23a
......@@ -20,8 +20,8 @@ int main(int argc, const char* argv[]) {
return -1;
}
string filename = argv[0];
cout << "filename: " << filename << endl;
string filename = argv[1];
//cout << "filename: " << filename << endl;
ifstream ifs(filename);
ifs.open(filename);
char c; //c will represent each character in the input file. we need to investigate "c" at each step
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment