Click here to Skip to main content
14,698,390 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Test whether iostream is binary or plain text Pin
BonshatS29-Oct-10 17:50
MemberBonshatS29-Oct-10 17:50 
Wow. 9 months later. Internet been a bit slow?

I'm sorry, I also incorrectly assumed the mode would be accessible somewhere within the stream obj.

Other than scanning the array data for CR,LF combos, or trying different read/write modes and seeing what fails and what succeeds, I don't how to determine how the stream was opened.
GeneralRe: Test whether iostream is binary or plain text Pin
Skippums30-Oct-10 8:00
MemberSkippums30-Oct-10 8:00 
Questionc++ titlebar color change Pin
RenateD31-Jan-10 5:05
MemberRenateD31-Jan-10 5:05 
AnswerRe: c++ titlebar color change Pin
enhzflep31-Jan-10 5:17
Memberenhzflep31-Jan-10 5:17 
AnswerRe: c++ titlebar color change Pin
RenateD31-Jan-10 5:38
MemberRenateD31-Jan-10 5:38 
GeneralRe: c++ titlebar color change Pin
enhzflep31-Jan-10 6:47
Memberenhzflep31-Jan-10 6:47 
GeneralRe: c++ titlebar color change Pin
RenateD31-Jan-10 7:40
MemberRenateD31-Jan-10 7:40 
GeneralRe: c++ titlebar color change Pin
enhzflep31-Jan-10 7:58
Memberenhzflep31-Jan-10 7:58 
GeneralRe: c++ titlebar color change Pin
RenateD31-Jan-10 10:19
MemberRenateD31-Jan-10 10:19 
GeneralRe: c++ titlebar color change Pin
enhzflep31-Jan-10 18:46
Memberenhzflep31-Jan-10 18:46 
QuestionAPI For ClipBoard Pin
Anil Kumar.Arvapalli31-Jan-10 3:09
MemberAnil Kumar.Arvapalli31-Jan-10 3:09 
AnswerRe: API For ClipBoard Pin
Ed.Poore31-Jan-10 3:24
MemberEd.Poore31-Jan-10 3:24 
AnswerRe: API For ClipBoard Pin
Richard MacCutchan31-Jan-10 3:48
mveRichard MacCutchan31-Jan-10 3:48 
Questionsave file error! Pin
wbgxx31-Jan-10 2:54
Memberwbgxx31-Jan-10 2:54 
AnswerRe: save file error! Pin
Richard MacCutchan31-Jan-10 3:44
mveRichard MacCutchan31-Jan-10 3:44 
GeneralRe: save file error! Pin
wbgxx31-Jan-10 4:41
Memberwbgxx31-Jan-10 4:41 
GeneralRe: save file error! Pin
Richard MacCutchan31-Jan-10 5:05
mveRichard MacCutchan31-Jan-10 5:05 
GeneralRe: save file error! Pin
wbgxx31-Jan-10 5:28
Memberwbgxx31-Jan-10 5:28 
GeneralRe: save file error! Pin
enhzflep31-Jan-10 5:14
Memberenhzflep31-Jan-10 5:14 
GeneralRe: save file error! Pin
Richard MacCutchan31-Jan-10 7:19
mveRichard MacCutchan31-Jan-10 7:19 
GeneralRe: save file error! Pin
enhzflep31-Jan-10 7:40
Memberenhzflep31-Jan-10 7:40 
GeneralRe: save file error! Pin
Richard MacCutchan31-Jan-10 8:44
mveRichard MacCutchan31-Jan-10 8:44 
Questionuser defined drag drop control in vc++ Pin
Prajakta Apte 31-Jan-10 2:44
MemberPrajakta Apte 31-Jan-10 2:44 
Questionsave file error! Pin
wbgxx31-Jan-10 2:25
Memberwbgxx31-Jan-10 2:25 
AnswerRe: save file error! Pin
Cedric Moonen31-Jan-10 2:43
MemberCedric Moonen31-Jan-10 2:43 

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.