Hello, everyone.
I consider myself new to C++ and I have tried to google for it and all it come up with is for string which I think my teacher want me to use c-string. Also, I have look in the textbook and I can't find any similar exercise. This is what I came up with
and here is example:Code:char str1[200]= {0}; for (int n = 0 ; n < begin_display; n++) { str1[n] = str[n]; } return str1[200];
enter a string: My brother Joseph is married.
Please enter the beginning index: 5
Please enter the ending index: 12
other Jo
Thank you for your help. I'm greatly appreciate it



LinkBack URL
About LinkBacks



