Hi, I'm trying to read some binary data from a file, I've read a few bytes of the data into a char array with ifstream. Now I know that the first 4 bytes in the char array represent an integer. How do I go about converting the elements to an integer? regards, Igor
ycliuwz@gmail.com schrieb:[color=blue] > Hi, > Could anyone help me out on this. > I'm trying to store an unsinged int that will at most use 1byte into a > binary file but to no avail. > could anyone help me out on this? thanks in advance[/color] Please stop your rapid reposting -- your message did come through the first time. If ...
long time; /* know C? */ Unprecedented performance: Nothing ever ran this slow before. Any sufficiently advanced bug is indistinguishable from a feature. Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31. The best way to accelerate an IBM is at 9.8 m/s/s. recursion (re - cur' - zhun) n. 1. (see recursion)
Hi All, I am having difficulty finding the right C code to convert a data file. I previously succeeded in converting this format using Python but to improve the speed and portability I now wish to code it in C and that is presenting me with problems. I have a binary data file which contains numerical data in Sign Magnitude Integer ...