976
Ndless / Re: General Ndless Questions and Support
« on: January 04, 2013, 08:33:23 pm »
It works for all numbers, even something like
fwrite(map, 1, 3, f) with 24 bit integers
24000 * 1 byte(char) = 6000 * 4 byte(int)
fwrite and fread don't care about what they're writing/reading, you only have to give the size of your object.
fwrite(map, 1, 3, f) with 24 bit integers
24000 * 1 byte(char) = 6000 * 4 byte(int)
fwrite and fread don't care about what they're writing/reading, you only have to give the size of your object.