Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   about the strcpy,strlen functions in cpp (http://www.go4expert.com/forums/strcpystrlen-functions-cpp-t6864/)

saivasavi 16Oct2007 11:54

about the strcpy,strlen functions in cpp
 
Could you please tell me how to write the functions of strcopy,string length,string append,string delete without using strlen,strcpy() functions?

seeguna 16Oct2007 15:20

Re: about the strcpy,strlen functions in cpp
 
Send ur coding........
I will correct the errors....

Tips to solve ur problem is "In the input character array ,count the no.of characters one by one, copy it character by character........"

DaWei 16Oct2007 18:24

Re: about the strcpy,strlen functions in cpp
 
You can't delete a string unless it's dynamically allocated, you can only make it empty.


All times are GMT +5.5. The time now is 04:43.