Click here to Skip to main content
15,844,752 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: _utime problem Pin
«_Superman_»29-Oct-09 17:56
professional«_Superman_»29-Oct-09 17:56 
GeneralRe: _utime problem Pin
crazydoy29-Oct-09 19:47
crazydoy29-Oct-09 19:47 
QuestionRe: _utime problem Pin
David Crow30-Oct-09 4:39
David Crow30-Oct-09 4:39 
QuestionTimerAPCProc() Not Being Called With SetWaitableTimer() Pin
Hummer209729-Oct-09 13:48
Hummer209729-Oct-09 13:48 
AnswerRe: TimerAPCProc() Not Being Called With SetWaitableTimer() Pin
Mauro Leggieri29-Oct-09 17:53
Mauro Leggieri29-Oct-09 17:53 
GeneralRe: TimerAPCProc() Not Being Called With SetWaitableTimer() Pin
Hummer209730-Oct-09 3:45
Hummer209730-Oct-09 3:45 
QuestionHow to read and write to a BINARY file? Pin
dipuks29-Oct-09 13:46
dipuks29-Oct-09 13:46 
AnswerRe: How to read and write to a BINARY file? Pin
Member 419459329-Oct-09 14:05
Member 419459329-Oct-09 14:05 
Just CreateFile with binary access, write it, seek to the front, and read it back record by record. If you want random access, then the records must be the same size. If you want variable length records, just precede each binary record with a DWORD with the record size when you write it, then when you read it back, read the DWORD to get the record size, then read the data block, - this also implies that the file must be sequentially accessed both for writing and reading.

Dave.
AnswerRe: How to read and write to a BINARY file? Pin
enhzflep29-Oct-09 14:06
enhzflep29-Oct-09 14:06 
GeneralRe: How to read and write to a BINARY file? Pin
dipuks29-Oct-09 16:27
dipuks29-Oct-09 16:27 
GeneralRe: How to read and write to a BINARY file? Pin
enhzflep29-Oct-09 16:53
enhzflep29-Oct-09 16:53 
AnswerRe: How to read and write to a BINARY file? Pin
David Crow29-Oct-09 18:01
David Crow29-Oct-09 18:01 
AnswerRe: How to read and write to a BINARY file? Pin
Adam Roderick J29-Oct-09 18:58
Adam Roderick J29-Oct-09 18:58 
QuestionA General Problem Pin
WindowsVsLinux29-Oct-09 9:49
WindowsVsLinux29-Oct-09 9:49 
AnswerRe: A General Problem Pin
«_Superman_»29-Oct-09 10:04
professional«_Superman_»29-Oct-09 10:04 
GeneralRe: A General Problem Pin
WindowsVsLinux29-Oct-09 19:03
WindowsVsLinux29-Oct-09 19:03 
QuestionRe: A General Problem Pin
David Crow29-Oct-09 10:30
David Crow29-Oct-09 10:30 
AnswerRe: A General Problem Pin
WindowsVsLinux29-Oct-09 19:05
WindowsVsLinux29-Oct-09 19:05 
AnswerRe: A General Problem Pin
enhzflep29-Oct-09 10:36
enhzflep29-Oct-09 10:36 
GeneralRe: A General Problem Pin
WindowsVsLinux29-Oct-09 19:08
WindowsVsLinux29-Oct-09 19:08 
GeneralRe: A General Problem Pin
Adam Roderick J29-Oct-09 19:21
Adam Roderick J29-Oct-09 19:21 
Questionpointer and switch Pin
kbury29-Oct-09 9:18
kbury29-Oct-09 9:18 
AnswerRe: pointer and switch Pin
«_Superman_»29-Oct-09 9:21
professional«_Superman_»29-Oct-09 9:21 
GeneralRe: pointer and switch Pin
kbury29-Oct-09 9:24
kbury29-Oct-09 9:24 
AnswerRe: pointer and switch Pin
CPallini29-Oct-09 11:58
mveCPallini29-Oct-09 11:58 

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.