ask for input

This commit is contained in:
Joel Beckmeyer 2017-04-23 21:00:56 -04:00
parent 9264dbbeda
commit 2a7d351dec

View File

@ -8,6 +8,7 @@ int main() {
string fileName; string fileName;
Simulation e; Simulation e;
cout << "Please enter filename:\n";
getline(cin, fileName); getline(cin, fileName);
e.parseCircuit(fileName); e.parseCircuit(fileName);
@ -24,4 +25,4 @@ int main() {
// 4. Print the results of the simulation // 4. Print the results of the simulation
e.print(); e.print();
} }