Does C++ have a function similar to the PHP function, implode?
Which would join the array values together in a string with the | character in this case, eg: item1|item2|item2|etcCode:$var = implode('|',$thearray);
I know you can use a for loop in C++ to loop through each item (or write a custom function) but i was wondering if there is an implode style function in existence.
As a side note, does c++ support associative arrays? eg: array["key"], array["anotherkey"] etc. Judging by what i have seen so far it seems that numeric keys are the only option, i'd just like to confirm this.
Thank you very much