maybe it's stupid but I'm stuck.
I want to write a long int varriable into a file, do I need to transform it to binary take the lower 8 bits and using fputc print and remove them
every time for the entire number? or is there a better way?
I've searched the board but all I find are functions to print chars,
strings and arrays when what I need is a simple int var.