We allready posted a topic for turning around an String.
But we are no experts, so we don't really understande the code that was posted....
We need a EASY programm for converting a string:
from (for example)
ABCD --> DCBA
We allready made this:
int main (void)
/* Input of String-array *
char mystring  ;
printf ("fill in a string: ");
printf ("The string you entered is: %s\n",mystring);
/* Rotation of string */
while (waarde1 > 0)
printf ("Rotation: %s\n",mystring+waarde1);
waarde1 = waarde1--;
Now we have the problem that we cant select 1 sign from the string, but only from a sign.
So we want to select each string value, and then paste them together in reverse angle....
Please help us....
No difficult C++ code (or the "strrev" command)... only this simple problem...