Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


Strcpy still can not understand, help us to see ~~~~

Char * strcpy (char * dst, char * src)
{
Char * cp = dst;

While (*cp++ = *src++)

/*while (*dst++ = *src++) Can? */
                   ;               
Return (dst);
}
The following months saw the stickers continue to talk about "taking into account the length of the dst? , "And other issues ~~~~
Khan, a ``` forgotten GOOGLE, has been resolved ~~~~~

Strcpy still can not understand, help us to see ~~~~

While ((= *src++ *cp++)> '\0');

/*while (*dst++ = *src++) Can? */
If this the case, dst array of indicators on at the end of the bar, there is a need to start a numerical point of the interim guidelines

Strcpy still can not understand, help us to see ~~~~

-->

No distinction between these two, dst parameters directly on the list

Strcpy still can not understand, help us to see ~~~~

-->
Strcpy in operation after the dst array do at the end, but the impact would only effective within the strcpy function, a function to return there after. They can write a small test procedures.



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com