Can anyone please help me to write an integer to a file. I know how to write a character and a string to a file but I can't find anything that says how to write an integer to a file. Either that or convert an integer into a string. There are many resources that tell me how to convert a string to an integer but none that say how to convert an integer to a string. Thanks a lot for your help.