Click here to Skip to main content
15,894,182 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: ios::in | ios::out error Pin
CPallini2-Feb-10 1:32
mveCPallini2-Feb-10 1:32 
QuestionRe: ios::in | ios::out error Pin
David Crow2-Feb-10 3:20
David Crow2-Feb-10 3:20 
AnswerRe: ios::in | ios::out error Pin
Sujan Dhakal2-Feb-10 9:46
Sujan Dhakal2-Feb-10 9:46 
AnswerRe: ios::in | ios::out error Pin
David Crow2-Feb-10 9:51
David Crow2-Feb-10 9:51 
GeneralRe: ios::in | ios::out error Pin
Sujan Dhakal2-Feb-10 16:27
Sujan Dhakal2-Feb-10 16:27 
GeneralRe: ios::in | ios::out error Pin
CPallini2-Feb-10 21:16
mveCPallini2-Feb-10 21:16 
GeneralRe: ios::in | ios::out error Pin
Sujan Dhakal3-Feb-10 0:55
Sujan Dhakal3-Feb-10 0:55 
GeneralRe: ios::in | ios::out error Pin
CPallini3-Feb-10 1:30
mveCPallini3-Feb-10 1:30 
The problem is you can't read from a not exitsting file, I suppose.
Your bit mask works if the file do exist. On the other hand, if the file does not exist you should use the
ios::out | ios::binary
mask.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

AnswerRe: ios::in | ios::out error Pin
xiaozhu87662-Feb-10 17:07
xiaozhu87662-Feb-10 17:07 
QuestionCDialog ON_WM_KEYDOWN event Pin
chevu2-Feb-10 0:20
chevu2-Feb-10 0:20 
QuestionRe: CDialog ON_WM_KEYDOWN event Pin
Nelek2-Feb-10 5:54
protectorNelek2-Feb-10 5:54 
GeneralRe: CDialog ON_WM_KEYDOWN event [modified] Pin
chevu2-Feb-10 15:02
chevu2-Feb-10 15:02 
GeneralRe: CDialog ON_WM_KEYDOWN event Pin
chevu2-Feb-10 21:17
chevu2-Feb-10 21:17 
AnswerRe: CDialog ON_WM_KEYDOWN event Pin
chevu2-Feb-10 23:31
chevu2-Feb-10 23:31 
GeneralRe: CDialog ON_WM_KEYDOWN event Pin
Nelek3-Feb-10 20:36
protectorNelek3-Feb-10 20:36 
Questionhow to download google apis Pin
anshach1-Feb-10 22:45
anshach1-Feb-10 22:45 
AnswerRepost - please ignore. Pin
CPallini1-Feb-10 23:11
mveCPallini1-Feb-10 23:11 
AnswerRe: how to download google apis Pin
Game-point2-Feb-10 0:02
Game-point2-Feb-10 0:02 
GeneralRe: how to download google apis PinPopular
David Crow2-Feb-10 3:23
David Crow2-Feb-10 3:23 
AnswerRe: how to download google apis Pin
Nelek2-Feb-10 5:59
protectorNelek2-Feb-10 5:59 
QuestionWhere Export data section reside in PE? [modified] Pin
glitteringsound1-Feb-10 21:33
glitteringsound1-Feb-10 21:33 
AnswerRe: Where Export data section reside in PE? Pin
Richard MacCutchan1-Feb-10 23:28
mveRichard MacCutchan1-Feb-10 23:28 
AnswerRe: Where Export data section reside in PE? Pin
Stuart Dootson2-Feb-10 1:06
professionalStuart Dootson2-Feb-10 1:06 
Questionwhat does c++ class allocate in memory image. Pin
aiming04201-Feb-10 21:16
aiming04201-Feb-10 21:16 
AnswerRe: what does c++ class allocate in memory image. Pin
KingsGambit1-Feb-10 21:21
KingsGambit1-Feb-10 21:21 

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.