deleting words from array

hi i want to write a program that allows me to delete words from an array one by one but i dont know how to do it can anyone help me
What's it an array of? string or char?

Either way, the short answer is you can't. You have to make a new array, and copy into it everything except the bit you don't want, OR you can copy everything to the right of the part you don't want over the top of the part you don't want, and write a zero at the new ending of it's an array of char

DON'T. This is C++. Use a vector instead of an array, and use the provided functions to remove elements from the vector.
Last edited on
Topic archived. No new replies allowed.