There yo will find many useful member functions of the string class. "stringName.erase()" comes to mind, but that is not the only function that you are likely to need.
Without an example of what you are working with there could be other ways of doing what you need.
You can't delete an element from an array since arrays don't change their size. You can only set a string to "" if it is a duplicate. Sort the array first and then you need only one loop.
Nobody is asking you to delete anything. Insert your strings into a set<string> and then output the contents of that set. Like I said, sets don't maintain duplicates. http://www.cplusplus.com/reference/set/set/