Click here to Skip to main content
15,895,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: help Pin
Xeqtr21-Jun-10 11:50
Xeqtr21-Jun-10 11:50 
GeneralRe: help Pin
edmagas21-Jun-10 11:55
edmagas21-Jun-10 11:55 
GeneralRe: help [modified] Pin
Tim Craig21-Jun-10 18:42
Tim Craig21-Jun-10 18:42 
AnswerRe: help PinPopular
CPallini21-Jun-10 11:33
mveCPallini21-Jun-10 11:33 
AnswerRe: help Pin
Wes Aday21-Jun-10 16:37
professionalWes Aday21-Jun-10 16:37 
GeneralRe: help Pin
edmagas22-Jun-10 0:20
edmagas22-Jun-10 0:20 
AnswerRe: help Pin
Emilio Garavaglia21-Jun-10 22:35
Emilio Garavaglia21-Jun-10 22:35 
QuestionClient Server Application - Design issue - Writing to a file sequentialy during a session Pin
simon alec smith21-Jun-10 10:01
simon alec smith21-Jun-10 10:01 
The client server application, is a simple purchase order application
I wish to write each order received by the server sequentially to a file.

What would be best practise?

(1) Keep the file open whilst the program is running, then write each order received during the server session, then close the file when the program ends.

(2) Open then write the record then close the file for each order received


What would be the pros and cons for the above mentioned?

Thanks in advance Simon
AnswerRe: Client Server Application - Design issue - Writing to a file sequentialy during a session Pin
Moak21-Jun-10 11:43
Moak21-Jun-10 11:43 
AnswerRe: Client Server Application - Design issue - Writing to a file sequentialy during a session Pin
«_Superman_»21-Jun-10 18:08
professional«_Superman_»21-Jun-10 18:08 
AnswerRe: Client Server Application - Design issue - Writing to a file sequentialy during a session Pin
ThatsAlok21-Jun-10 20:09
ThatsAlok21-Jun-10 20:09 
AnswerRe: Client Server Application - Design issue - Writing to a file sequentialy during a session Pin
Aescleal22-Jun-10 0:59
Aescleal22-Jun-10 0:59 
Questionmy thread doesnt work Pin
Krauze21-Jun-10 6:27
Krauze21-Jun-10 6:27 
AnswerRe: my thread doesnt work Pin
Joe Woodbury21-Jun-10 7:57
professionalJoe Woodbury21-Jun-10 7:57 
GeneralRe: my thread doesnt work Pin
Krauze21-Jun-10 16:54
Krauze21-Jun-10 16:54 
GeneralRe: my thread doesnt work Pin
Joe Woodbury21-Jun-10 18:24
professionalJoe Woodbury21-Jun-10 18:24 
GeneralRe: my thread doesnt work Pin
Iain Clarke, Warrior Programmer21-Jun-10 21:24
Iain Clarke, Warrior Programmer21-Jun-10 21:24 
GeneralRe: my thread doesnt work Pin
Niklas L21-Jun-10 22:12
Niklas L21-Jun-10 22:12 
GeneralRe: my thread doesnt work Pin
Iain Clarke, Warrior Programmer21-Jun-10 22:24
Iain Clarke, Warrior Programmer21-Jun-10 22:24 
GeneralRe: my thread doesnt work Pin
Niklas L21-Jun-10 22:38
Niklas L21-Jun-10 22:38 
QuestionMessage Removed Pin
21-Jun-10 5:52
Kausik4u21-Jun-10 5:52 
AnswerRe: Having Issue in Calling JScript from C++ Win32 Project Pin
David Crow21-Jun-10 6:19
David Crow21-Jun-10 6:19 
GeneralRe: Having Issue in Calling JScript from C++ MFC Application using IWebBrowser2 Pin
Kausik4u21-Jun-10 8:09
Kausik4u21-Jun-10 8:09 
GeneralRe: Having Issue in Calling JScript from C++ MFC Application using IWebBrowser2 Pin
enhzflep21-Jun-10 17:45
enhzflep21-Jun-10 17:45 
GeneralRe: Having Issue in Calling JScript from C++ MFC Application using IWebBrowser2 Pin
David Crow23-Jun-10 5:11
David Crow23-Jun-10 5: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.