 |
How to reverse a string??(C++)?
if you want C++, you should use a string variable instead of a char* so before main do : #include #include using namespace std; int main() { string str = "abcdefghijklmnopqrstuvwxyz"; str = reverse(str); //i will create a function that takes a ...
answers.yahoo.com |
 |