I've really only programmed with C++ and not C so far, and can't find out how to clear a string in C. I have tired using clear() and erase() but get the following error message:
"error: request for member ‘erase’ in something not a structure or union"
error: request for member ‘clear’ in something not a structure or union"
Can someone please help? Thanks.