Click here to Skip to main content
15,909,827 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: altering buffer value Pin
David Crow9-Jan-07 4:38
David Crow9-Jan-07 4:38 
AnswerRe: altering buffer value Pin
jhwurmbach9-Jan-07 3:18
jhwurmbach9-Jan-07 3:18 
Questioncstring library Pin
zoobiskuit9-Jan-07 2:07
zoobiskuit9-Jan-07 2:07 
AnswerRe: cstring library Pin
prasad_som9-Jan-07 2:23
prasad_som9-Jan-07 2:23 
AnswerRe: cstring library Pin
toxcct9-Jan-07 2:47
toxcct9-Jan-07 2:47 
AnswerRe: cstring library Pin
jhwurmbach9-Jan-07 3:07
jhwurmbach9-Jan-07 3:07 
GeneralRe: cstring library Pin
zoobiskuit9-Jan-07 3:17
zoobiskuit9-Jan-07 3:17 
GeneralRe: cstring library Pin
jhwurmbach9-Jan-07 3:24
jhwurmbach9-Jan-07 3:24 
zoobiskuit wrote:
i am not sure i know how to 'loop over a string'.


CString has the operator[], and the GetAt()-function, which additionally checks ranges.
MSDN is very clear about this.

Attention: you can not write using the operator[].
So you will need to copy to another string.

You should be able to get your assignement done by now.
Feel free to ask again when you have a implementation and it malfunctions.



"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."

-- Caius Petronius, Roman Consul, 66 A.D.

GeneralRe: cstring library Pin
zoobiskuit9-Jan-07 3:28
zoobiskuit9-Jan-07 3:28 
GeneralRe: cstring library Pin
toxcct9-Jan-07 4:14
toxcct9-Jan-07 4:14 
GeneralRe: cstring library Pin
jhwurmbach9-Jan-07 4:20
jhwurmbach9-Jan-07 4:20 
GeneralRe: cstring library Pin
toxcct9-Jan-07 5:29
toxcct9-Jan-07 5:29 
GeneralRe: cstring library Pin
jhwurmbach9-Jan-07 5:52
jhwurmbach9-Jan-07 5:52 
QuestionIs there any matrix library in C++? Pin
Ming Luo9-Jan-07 1:57
Ming Luo9-Jan-07 1:57 
AnswerRe: Is there any matrix library in C++? Pin
CPallini9-Jan-07 2:33
mveCPallini9-Jan-07 2:33 
AnswerRe: Is there any matrix library in C++? Pin
Stephen Hewitt9-Jan-07 12:05
Stephen Hewitt9-Jan-07 12:05 
QuestionCDialog based window doesn't get focus. Pin
PatrykDabrowski9-Jan-07 1:19
PatrykDabrowski9-Jan-07 1:19 
AnswerRe: CDialog based window doesn't get focus. Pin
S Douglas16-Jan-07 2:01
professionalS Douglas16-Jan-07 2:01 
AnswerRe: CDialog based window doesn't get focus - solution Pin
PatrykDabrowski16-Jan-07 2:35
PatrykDabrowski16-Jan-07 2:35 
Questioncolor histogram Pin
abichaz9-Jan-07 1:01
abichaz9-Jan-07 1:01 
AnswerRe: color histogram Pin
Chris Losinger9-Jan-07 4:55
professionalChris Losinger9-Jan-07 4:55 
GeneralRe: color histogram Pin
abichaz9-Jan-07 20:16
abichaz9-Jan-07 20:16 
GeneralRe: color histogram Pin
Chris Losinger10-Jan-07 1:28
professionalChris Losinger10-Jan-07 1:28 
GeneralRe: color histogram Pin
abichaz10-Jan-07 1:34
abichaz10-Jan-07 1:34 
QuestionProgram Logging Pin
karldwmoore9-Jan-07 0:57
karldwmoore9-Jan-07 0:57 

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.