I want to ask a question about output numbers to a file in C++.
I know how to output characters to a file using putc() but what to do if what I want to output are numbers?
I want to input some int values to a file and I dunno what function to use.
Thank you.