i have a problem:
i need to take the first character from a string and place it at the end of the string...how can i do this?
example:
input "hello"
output "elloh"
i've tried setting a char variable equal to the first character in the string, but then how do i put it at the end? strcat() gives an illegal operation on the second parameter, saying i need a (const char *), instead of a (char).
can someone help?



LinkBack URL
About LinkBacks





