There is only one thing covering all arbitrary images and other big objects is array of
char
. As this is "plain C" (not C++), one (related) structure to use is…
FILE
. See, for example:
http://www.cprogramming.com/tutorial/cfileio.html[
^].
You also should understand that
char
is not the character. In modern terms, it is only the character in the sense of C which assumes that characters are represented as 8-bit (or 7-bit, which high bit ignored) values, which is not presently the case. Data consists of bytes.
I have no idea what have you done with
int
and what did you plan to do with
long long int
, probably something making no sense at all.
—SA