Ok i need some help trying to store some information for a "save game" but I Dont know how to write to a .ini or cfg file
Can you show me how to write and read a ini or cfg file


and can you also show me how to assign a keyboard Key such as A to do a certain function like attack or something