i want to put two integers output in two different files how i can do it?
open first file, write first integer to it and close it.
do the same with the second file and second integer.
you can use fopen, fprintf or fwrite, fclose - or "ofstream" for C++ like approach.