You're looking at the string with the CodeWarrior debugger, right?  The
actual contents of the string is "?", but the debugger is adding an escape
before the question mark on its output because its doesn't want to output a
triglyph, which is a C++-ism where you have two question marks then another
character to stand in place for a character not on your keyboard.  If you do
a "view memory" on the string, you'll see that indeed, it is just a single
question mark.

"S.V.BADARI NARAYANA MURTHY" <[EMAIL PROTECTED]> wrote in message
news:31994@palm-dev-forum...

hai all

   I want to store "?" into a Char*. if i give like this


Char* temp;
temp="?";

     it will store "\?". why its adding \ before ?. how to store only "?".
if
any one have idea regarding this, please help me.




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to