Question: simOX is the executable file. The c++ program that I need to write needs me to open config_1.cnf which is the file name that I

 simOX is the executable file. The c++ program that I need

simOX is the executable file. The c++ program that I need to write needs me to open "config_1.cnf" which is the file name that I need to enter in command line. My quesiton is how I can open the "config_1.cnf" without asking the user the filename when the program runs.

2.4 the simulator Running When running the simulator you will be required to input a single configuration file (extension .cnf). You will run the simulator from the command line similar to the following: ./simox config-1.cnf The name of the assignment must be the simulator number. Many configuration files should be used to test your program, which you may modify for testing purposes as you see fit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!