I am trying to store every hex value from 0000 to fffe into a file. How would I use fwrite or fprintf to place these values into a file?
At the moment, I have a while loop that prints all the numbers using printf (which is to the console screen), but I need them in a file.
1 Answer