That's a freaking mess. Oh wait! It's C++, nevermind :)

In my favorite language, objective-c, arrays are simple as hell.

Code:
NSArray *array = [[NSArray alloc] initWithObjects:@"one", @"two", @"3", nil];