Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPls Help Pin
trinadh_t23-Feb-06 0:48
trinadh_t23-Feb-06 0:48 
AnswerRe: Pls Help Pin
murali_utr23-Feb-06 0:52
murali_utr23-Feb-06 0:52 
GeneralRe: Pls Help Pin
trinadh_t23-Feb-06 1:10
trinadh_t23-Feb-06 1:10 
GeneralRe: Pls Help Pin
murali_utr23-Feb-06 1:30
murali_utr23-Feb-06 1:30 
GeneralRe: Pls Help Pin
Dennis Gourjii23-Feb-06 1:33
Dennis Gourjii23-Feb-06 1:33 
JokeRe: Pls Help Pin
jhwurmbach23-Feb-06 22:13
jhwurmbach23-Feb-06 22:13 
QuestionBest way to Write and read from a file Pin
fearless stallion23-Feb-06 0:48
fearless stallion23-Feb-06 0:48 
AnswerRe: Best way to Write and read from a file Pin
James R. Twine23-Feb-06 0:57
James R. Twine23-Feb-06 0:57 
   I think that code snippets for the dec. of the structure, the writing of records, and the reading of records.  Packing/alignment and how you "changed" members of the structure to other structures may be part of the problem.

   Oh, and ReadFile(...) and WriteFile(...) are the Win32 APIs for reading and writing files.  fread(...) and fwrite(...) are C-RTL functions.

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
GeneralRe: Best way to Write and read from a file Pin
fearless stallion23-Feb-06 1:58
fearless stallion23-Feb-06 1:58 
AnswerRe: Best way to Write and read from a file Pin
James R. Twine23-Feb-06 2:30
James R. Twine23-Feb-06 2:30 
AnswerRe: Best way to Write and read from a file Pin
Dennis Gourjii23-Feb-06 1:36
Dennis Gourjii23-Feb-06 1:36 
QuestionRe: Best way to Write and read from a file Pin
fearless stallion23-Feb-06 1:53
fearless stallion23-Feb-06 1:53 
AnswerRe: Best way to Write and read from a file Pin
Dennis Gourjii23-Feb-06 2:56
Dennis Gourjii23-Feb-06 2:56 
JokeRe: Best way to Write and read from a file Pin
James R. Twine23-Feb-06 2:33
James R. Twine23-Feb-06 2:33 
GeneralRe: Best way to Write and read from a file Pin
Dennis Gourjii23-Feb-06 2:50
Dennis Gourjii23-Feb-06 2:50 
JokeRe: Best way to Write and read from a file Pin
James R. Twine23-Feb-06 3:28
James R. Twine23-Feb-06 3:28 
GeneralRe: Best way to Write and read from a file Pin
Dennis Gourjii23-Feb-06 3:45
Dennis Gourjii23-Feb-06 3:45 
AnswerRe: Best way to Write and read from a file Pin
James R. Twine23-Feb-06 4:51
James R. Twine23-Feb-06 4:51 
AnswerRe: Best way to Write and read from a file Pin
Wim Engberts23-Feb-06 5:01
Wim Engberts23-Feb-06 5:01 
GeneralRe: Best way to Write and read from a file Pin
fearless stallion23-Feb-06 19:03
fearless stallion23-Feb-06 19:03 
GeneralRe: Best way to Write and read from a file Pin
Wim Engberts23-Feb-06 23:17
Wim Engberts23-Feb-06 23:17 
GeneralRe: Best way to Write and read from a file Pin
fearless stallion24-Feb-06 1:17
fearless stallion24-Feb-06 1:17 
AnswerRe: ListCtrl Pin
James R. Twine23-Feb-06 4:55
James R. Twine23-Feb-06 4:55 
QuestionOverwriting in the console Pin
Cedric Moonen22-Feb-06 23:59
Cedric Moonen22-Feb-06 23:59 
AnswerRe: Overwriting in the console Pin
divine_augustine8423-Feb-06 0:11
divine_augustine8423-Feb-06 0:11 

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.