ask for input
This commit is contained in:
parent
9264dbbeda
commit
2a7d351dec
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user