Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Writing an integer to a file
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.