If you want to store "?" in a char, it'd be:

  char temp;
  temp = '?';

You used Char* which is a POINTER to a character (usually a character
string).  If you wanted the "?" to be stored in a string, it'd be:

  char temp[2];
  StrCopy(temp, "?");

This is basic C programming and really belongs on a forum other than this
one (which is Palm specific programming).

Steve

S.V.BADARI NARAYANA MURTHY <[EMAIL PROTECTED]> wrote in message
news:31993@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.


bye

Murthy

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1





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