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

C / C++ / MFC

 
GeneralRe: Vectors vs Arrays Pin
Mike Beckerleg13-Oct-04 0:05
MemberMike Beckerleg13-Oct-04 0:05 
GeneralRe: Vectors vs Arrays Pin
Kevin McFarlane13-Oct-04 6:36
MemberKevin McFarlane13-Oct-04 6:36 
GeneralRe: Vectors vs Arrays Pin
Maximilien13-Oct-04 0:56
MemberMaximilien13-Oct-04 0:56 
GeneralRe: Vectors vs Arrays Pin
mcsherry13-Oct-04 2:40
Membermcsherry13-Oct-04 2:40 
GeneralRe: Vectors vs Arrays Pin
Kevin McFarlane13-Oct-04 6:37
MemberKevin McFarlane13-Oct-04 6:37 
QuestionCString += CString :: doesn't do the trick? Pin
V.12-Oct-04 22:39
professionalV.12-Oct-04 22:39 
AnswerRe: CString += CString :: doesn't do the trick? Pin
RChin12-Oct-04 23:21
MemberRChin12-Oct-04 23:21 
GeneralRe: CString += CString :: doesn't do the trick? Pin
V.12-Oct-04 23:32
professionalV.12-Oct-04 23:32 
RChin wrote:
text += " " cannot be used on string variables.

OMG | :OMG: WTF | :WTF: Eek! | :eek:

I didn't know that, it worked fine for me, I use it all the time?

line and text are both CStrings, the " " is appended, but the line variable isn't. I suppose this has something to do with the fscanf function, but nonetheless it seems very strange to me.

tnx for the reply though.

PS: I've tried text = text + line; and text.Append(line); too, but nothing... Confused | :confused:

"If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix
AnswerRe: CString += CString :: doesn't do the trick? Pin
David Crow13-Oct-04 3:39
MemberDavid Crow13-Oct-04 3:39 
GeneralRe: CString += CString :: doesn't do the trick? Pin
V.13-Oct-04 4:39
professionalV.13-Oct-04 4:39 
AnswerRe: CString += CString :: doesn't do the trick? Pin
Phil J Pearson14-Oct-04 5:15
MemberPhil J Pearson14-Oct-04 5:15 
Generalthread safe lazy singleton intialization Pin
peterchen12-Oct-04 22:09
Memberpeterchen12-Oct-04 22:09 
GeneralRe: thread safe lazy singleton intialization Pin
Joaquín M López Muñoz13-Oct-04 0:19
MemberJoaquín M López Muñoz13-Oct-04 0:19 
GeneralRe: thread safe lazy singleton intialization Pin
peterchen13-Oct-04 1:52
Memberpeterchen13-Oct-04 1:52 
GeneralRe: thread safe lazy singleton intialization Pin
Neville Franks13-Oct-04 0:30
MemberNeville Franks13-Oct-04 0:30 
GeneralRe: thread safe lazy singleton intialization Pin
peterchen13-Oct-04 2:18
Memberpeterchen13-Oct-04 2:18 
GeneralRe: thread safe lazy singleton intialization Pin
Joaquín M López Muñoz13-Oct-04 3:26
MemberJoaquín M López Muñoz13-Oct-04 3:26 
GeneralRe: thread safe lazy singleton intialization Pin
Neville Franks13-Oct-04 9:31
MemberNeville Franks13-Oct-04 9:31 
GeneralRe: thread safe lazy singleton intialization Pin
Joaquín M López Muñoz13-Oct-04 10:01
MemberJoaquín M López Muñoz13-Oct-04 10:01 
GeneralRe: thread safe lazy singleton intialization Pin
Neville Franks13-Oct-04 10:29
MemberNeville Franks13-Oct-04 10:29 
GeneralRe: thread safe lazy singleton intialization Pin
peterchen13-Oct-04 9:51
Memberpeterchen13-Oct-04 9:51 
GeneralRe: thread safe lazy singleton intialization Pin
Neville Franks13-Oct-04 10:54
MemberNeville Franks13-Oct-04 10:54 
GeneralRe: thread safe lazy singleton intialization Pin
peterchen13-Oct-04 2:24
Memberpeterchen13-Oct-04 2:24 
General2 questions about working with files Pin
Ernesto D.12-Oct-04 21:51
MemberErnesto D.12-Oct-04 21:51 
GeneralRe: 2 questions about working with files Pin
Graham Bradshaw12-Oct-04 22:18
MemberGraham Bradshaw12-Oct-04 22:18 

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.