On Sat, Feb 16, 2002 at 10:16:39AM +0000, prasad wrote:
> hello,
>        I am facing the problem with StrNCopy();
> 
> please see this one.
> CharPtr recText = "thisisfromlaxma";
> CharPtr test = "fromlaxma";
> CharPtr test1;
> 
> StrNCopy (test1,recText,StrLen(recText)-StrLen(test));
> 
> actually the "thisis" string is copied in to test1 by using the abow function, but 
>iam not getting, iam getting some error with emulator.iam using palmOS 3.1 version is 
>any problem with version?
> 
> any one have idea please tell me

Yes, get a good book on C :-)

Marco

P.S. Read twice the section on pointers...

-- 
========================================================================
Marco Pantaleoni                                  [EMAIL PROTECTED]
Padova, Italy                                              [EMAIL PROTECTED]
elastiC language developer                   http://www.elasticworld.org

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