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

C / C++ / MFC

 
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 
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 
I do stay away from design meetings Smile | :)
Allow me to quote a part of the original message:
"the Structure i am writing into file contains char fn[100];char sn[1000];char dt[20];char tm[20]; int ET;"
Now this is big enough for a single record. Since records are used, it's more than probable that these will be searched or accessed randomly. Fine with me if there are a couple of records, but what if there are much more?
Besides, database is just an idea, not an imperative. I'm not the guy's boss, so I'm not imposing this design alternative as a "must", only as a way he might have failed to consider.
Finally, who mentioned a full-blown db? I'm not sugesting a db server and such. A small and handy MSAccess db can do the job more effectively. Especially when there are two threads accessing the file simultaneously (as is the case - see previous messages).
Sure you understand all this as well as I do so there's no reason why I should be subject to such criticism is there?
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 
GeneralRe: Overwriting in the console Pin
toxcct23-Feb-06 0:13
toxcct23-Feb-06 0:13 
AnswerRe: Overwriting in the console Pin
toxcct23-Feb-06 0:12
toxcct23-Feb-06 0:12 
GeneralRe: Overwriting in the console Pin
Wim Engberts23-Feb-06 0:16
Wim Engberts23-Feb-06 0:16 
GeneralRe: Overwriting in the console Pin
toxcct23-Feb-06 0:17
toxcct23-Feb-06 0:17 
AnswerRe: Overwriting in the console Pin
toxcct23-Feb-06 0:25
toxcct23-Feb-06 0:25 
AnswerRe: Overwriting in the console Pin
Cedric Moonen23-Feb-06 0:49
Cedric Moonen23-Feb-06 0:49 
QuestionPrinting directly without dialog box Pin
LapinGarou22-Feb-06 23:53
LapinGarou22-Feb-06 23:53 

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.