I have a legacy application that was given to me to convert it to a console application. My only issue is that I'm fairly new to coding in C++ and need any tips/help you can provide.
Currently the MFC application opens 2 files does a calculation and outputs a new file with the calculation in it. The GUI is only used to select which 2 files the user wants to use to do the calculation on.
Basically I want to send arguments via the command line instead of the GUI. Is there a "quick" way of doing this where I can reuse some of the old code without starting writing a new application entirely?
Also, any links that I can read up on would be very much appreciated!

Thanks.