Adding Qoutation mark " to CString
- From: Anu <anu.mishra@xxxxxxxxx>
- Date: Wed, 05 Sep 2007 07:55:02 -0000
Hi,
I am not able to add " to my Cstring. I want a string like temp"12
For example
CString s = "temp\"12"; this gives temp12
CString s = "temp\\"12"; - this gives compile error.
Only option is to work like this
Cstring s;
s = "temp";
s = s + "\\";
s = s + "12";
is there any other way to put qoutation marks directly in a string?
Regards,
Anubhav
.
- Follow-Ups:
- Re: Adding Qoutation mark " to CString
- From: Tom Serface
- Re: Adding Qoutation mark " to CString
- From: Joseph M . Newcomer
- Re: Adding Qoutation mark " to CString
- From: Giovanni Dicanio
- Re: Adding Qoutation mark " to CString
- Prev by Date: Re: Code Page problem in SetWindowText
- Next by Date: Re: strange memory leak problem
- Previous by thread: Re: Problems with "CommitFile" with EWF from Win XP embedded
- Next by thread: Re: Adding Qoutation mark " to CString
- Index(es):