G
glueless
I have to read files from UNIX systems on my PC. The problem
is that these binary files are in big endian and I need to convert
them. I saw that there are functions ntohl for my visual C++ (4.0),
but I don't know in what librarieses these are.
I want to kep the code as simple as possible, since I also want to
compile it on UNIX systems. Does anyone know of existing functions
that do the conversion as I am a bit lazy to program thi myself?
is that these binary files are in big endian and I need to convert
them. I saw that there are functions ntohl for my visual C++ (4.0),
but I don't know in what librarieses these are.
I want to kep the code as simple as possible, since I also want to
compile it on UNIX systems. Does anyone know of existing functions
that do the conversion as I am a bit lazy to program thi myself?