Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~287 People Reached
Favorite Forums
Favorite Tags
Member Avatar for jos_t_tarigan

hi, im trying to read and write an array of integer to/from a file. i use this to write to a file: [code=c]fwrite(texel, sizeof(int), size, fp);[/code] and this to write it: [code=c] (*out) = new int[size]; fread((*out), sizeof(int), size, fp); [/code] but the data read from the same file is …

Member Avatar for Ancient Dragon
0
204
Member Avatar for jos_t_tarigan

hi, im trying to read a binary file with header. so i manage to read the header by calling this: [CODE=c]fread(&headers, sizeof(MtexHeader), 1, fp);[/CODE] the header contains the size of the real content. i call those content by calling this line: [CODE=c]fread(out, sizeAccordingToHeader, 1, fp);[/CODE] but it always returns me …

Member Avatar for Lerner
0
83