Saturday, 10 August 2013

Remove duplicate string in an array

Remove duplicate string in an array

i'm new to c++ and i'm looking for a way to remove duplicate strings from
an array of strings that looks like this: string exempleArray[]=
{"string1", "string2", "string1"}; after the code it should look like
this: "string1", "string2", but the order doesn't matter at all. Thanks a
lot for your time.

No comments:

Post a Comment