c++ - Edit values in config. file -
Currently, I am using ReadFile () and WriteFile () APIs to write & amp; Read from the file if any data is sufficient to rewrite, then what is the API function to change / edit text? I've only heard about SetFilePointer (), but I'm not sure how to use it to change text from a file.
For example, select a string / character of the file, Key2 of the value '0'.
Key1 = 0
Key2 = 0
and change it to '1'.
Key1 = 0
Key2 = 1 <
Functions and privateProfileString It can be good for this.
Comments
Post a Comment