Click here to Skip to main content
15,890,370 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
toxcct wrote:
yes it does !!! have only tried ? me did !


No, it doesn't !!! Yes. Me too!

Do you want my (VS2003) solution or is it enough to say that a string containing 6 spaces in a row between letters after applying Replace( " "/*Two spaces*/, " "/*One space*/) contains three spaces.
And that Replace (correctly) returns 3?

You are right in that it is always better to use the libraries given (and to know ones tools).
But here we only have a library-function that does something similar to what we (maybe) want.



"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.

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 
AnswerRe: Program Logging Pin
jhwurmbach9-Jan-07 3:04
jhwurmbach9-Jan-07 3:04 
GeneralRe: Program Logging Pin
karldwmoore9-Jan-07 3:15
karldwmoore9-Jan-07 3:15 
AnswerRe: Program Logging Pin
prasad_som9-Jan-07 3:18
prasad_som9-Jan-07 3:18 
GeneralRe: Program Logging Pin
jhwurmbach9-Jan-07 3:27
jhwurmbach9-Jan-07 3:27 
QuestionTree Control Pin
Sachinpatole9-Jan-07 0:20
Sachinpatole9-Jan-07 0:20 

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.