Code Blog
We know what is the code

Home Page




i need a code that copies strings in c++ without using strcpy?

another code to compare without using strc

By: jerry l



One Response to “i need a code that copies strings in c++ without using strcpy?”

  1. Germann A Says:

    Ask yourself:
    What is a string?
    How can you get a length of existing string?
    How can you create a new string of given length?
    When you done the above, all you need is to loop through existing string and assign each char to corresponding char in new string…

Leave a Reply