Innercynic
Programmer
hi, im new to programming, i would like to write a simple program that accesses a text file (a game .ini) and searches for and changes one value in it.
the format of the ini file is:
bForceMultiPass=1
bDoTexturePass=1
bDoSpecularPass=1 etc etc etc...
basically i would like to write a program in c++ that opens the file (perhaps asks for the files path), searches for and changes the value of bDoSpecularPass (to either 1 or 0 depending on what its current value is).
its little hassle to do what the program would do manually, this is only for helping with my c++ knowledge.
thanks
the format of the ini file is:
bForceMultiPass=1
bDoTexturePass=1
bDoSpecularPass=1 etc etc etc...
basically i would like to write a program in c++ that opens the file (perhaps asks for the files path), searches for and changes the value of bDoSpecularPass (to either 1 or 0 depending on what its current value is).
its little hassle to do what the program would do manually, this is only for helping with my c++ knowledge.
thanks