Monday, May 24, 2010

Please help me on this. pretty plz with sugar on top? C++ programming doubt?

hi.this is my home work and i find C++ extremely tough.


i dont kno how to do this program.








1)write a program to perform on a string class without using language


supported built in string function. The member function should do the


following operations.


1. read the string


2.display the string


reverse the string


3.copy the 1st string into the second and vice versa


according to the users


choice


4.concatenate the strings





i gotta submit this crap on wednesday. plz help...god will bless u fer eternity if u help me on this.

Please help me on this. pretty plz with sugar on top? C++ programming doubt?
why don't u at least TRY to solve it, and then post your source code, and we can help you finish it.
Reply:"pretty plz with sugar on top?" Are you 5 years old? Do your own homework.
Reply:A string is simply an array of characters that is NULL terminated. You can do all the processing you need in your user function using a while loop testing for the NULL as the end of the string. Remember that the first array element is numbered zero.


No comments:

Post a Comment