Click here to Skip to main content
15,905,566 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Binary files again... Pin
Aqueel31-Oct-05 23:11
Aqueel31-Oct-05 23:11 
GeneralRe: Binary files again... Pin
kakan1-Nov-05 0:00
professionalkakan1-Nov-05 0:00 
AnswerRe: Binary files again... Pin
kakan1-Nov-05 0:23
professionalkakan1-Nov-05 0:23 
QuestionHow to join a computer to the domain?? Pin
Rick Pan31-Oct-05 19:46
Rick Pan31-Oct-05 19:46 
QuestionTransparent image Pin
samira forooghi31-Oct-05 19:15
samira forooghi31-Oct-05 19:15 
AnswerRe: Transparent image Pin
Mircea Puiu31-Oct-05 20:34
Mircea Puiu31-Oct-05 20:34 
QuestionBinary files Pin
Aqueel31-Oct-05 18:22
Aqueel31-Oct-05 18:22 
AnswerRe: Binary files Pin
kakan31-Oct-05 19:47
professionalkakan31-Oct-05 19:47 
Hello.
You are reading sizeof(i) no of charaters from the file. Is that what you want?
i is an integer, so sizeof(i) will evaluate to 4 (bytes).

My guess is that you really want to read one character at the time from the file and then interpret it as an integer, right?
The read it as an unsigned char, with sizeof(unsigned char)
Then, cast it to ant int.




QuestionProgram Files special folder location. Pin
Martin Marvinski31-Oct-05 16:37
Martin Marvinski31-Oct-05 16:37 
AnswerRe: Program Files special folder location. Pin
khan++31-Oct-05 17:53
khan++31-Oct-05 17:53 
QuestionMFC FormView Pin
ltallman31-Oct-05 16:33
ltallman31-Oct-05 16:33 
AnswerRe: MFC FormView Pin
Christian Graus31-Oct-05 16:35
protectorChristian Graus31-Oct-05 16:35 
AnswerRe: MFC FormView Pin
Arman S.31-Oct-05 21:07
Arman S.31-Oct-05 21:07 
QuestionUnicode, hexadecimal and japanese. Pin
samkook31-Oct-05 14:33
samkook31-Oct-05 14:33 
AnswerRe: Unicode, hexadecimal and japanese. Pin
__yb31-Oct-05 21:20
__yb31-Oct-05 21:20 
GeneralRe: Unicode, hexadecimal and japanese. Pin
samkook1-Nov-05 7:31
samkook1-Nov-05 7:31 
GeneralRe: Unicode, hexadecimal and japanese. Pin
__yb1-Nov-05 11:51
__yb1-Nov-05 11:51 
GeneralRe: Unicode, hexadecimal and japanese. Pin
samkook1-Nov-05 15:40
samkook1-Nov-05 15:40 
QuestionDebugged some strange Error and Now ??? Pin
tbrake31-Oct-05 10:04
tbrake31-Oct-05 10:04 
QuestionUPS Meant 'ActivateTopParent' Pin
tbrake31-Oct-05 10:07
tbrake31-Oct-05 10:07 
AnswerRe: Debugged some strange Error and Now ??? Pin
Joe Woodbury31-Oct-05 10:49
professionalJoe Woodbury31-Oct-05 10:49 
QuestionRe: Debugged some strange Error and Now ??? Pin
tbrake31-Oct-05 11:09
tbrake31-Oct-05 11:09 
Questionfiles Pin
Manu_8131-Oct-05 8:12
Manu_8131-Oct-05 8:12 
AnswerRe: files Pin
Mircea Puiu31-Oct-05 8:33
Mircea Puiu31-Oct-05 8:33 
GeneralRe: files Pin
Manu_8131-Oct-05 8:50
Manu_8131-Oct-05 8:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.