I have been struggling for a long time to find out how to change a hardcoded variable value to a user defined value, but not have any luck yet.
I have created a C++ win32 window app in MS Visual Studio. My problem is that I am using some open source code in my app that have a hardcoded variable that I need to make user selectable. That is, I want it to be user defined instead of beeing hardcoded as it is now.
The user input should only be a write a ip address of choice, like i.e 192.168.0.22
How do I manage to have the user input to my program?
The program
The user should be able to write in an ip address in any way, into a inputbox if possible, reading a txt file only the ip adresss as data, XML or whatever is fine.