i have made an application and i want to store the serial key in a separate file this way it can easily be changed when expired etc. but i have no idea on how to put it into a separate file any ideas? thanks in advance for any help.
Printable View
i have made an application and i want to store the serial key in a separate file this way it can easily be changed when expired etc. but i have no idea on how to put it into a separate file any ideas? thanks in advance for any help.
You wrote the whole application but don't know how to write/read something from a file?
Use std::ofstream to write data to a file and use std::ifstream to read it.