char myArray[256];
... // some code that fills the array
// here is how i empty it
memset(myArray,0,sizeof(myArray));
the "0" in memset is what I am setting every character in the array to so if you wanted to put something else in there, such as all one letter, use the ascii equivalent
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.