|
-
March 30th, 1999, 09:51 AM
#1
CString
Hello! Gurus
I am developing a class using CString as the main class in my class. I am facing a peculiar problem. When I add two CStrings(for example CString x,y and
I type x += y or x = x+y; It is not adding CString y to x.But if I say x = y + x, the thing works. Is there anyone who can help on this.
Thanks
-Chin Yu
-
March 30th, 1999, 10:46 AM
#2
Re: CString
Might be easier if you actually showed 5 or 6 lines of code that actually display this
problem.
-
March 30th, 1999, 05:58 PM
#3
Re: CString
If you have anykind of backslash \ then those adding features don't work. If there is a \ then make it a \\ and it should work.
-
March 30th, 1999, 05:58 PM
#4
Re: CString
If you have anykind of backslash \ then those adding features don't work. If there is a \ then make it a \\ and it should work.
-
April 1st, 1999, 09:03 AM
#5
Re: CString
I also got the same 'problem'. I guess it maybe a bug in VC 5.0, thats what I use and you are too probably.
It will be interesting to know why a =+ b isn't work exactly the same way as a = a + b.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|