End Google Ads 201810 - BS.net 01 --> Is this possible in C++?

I know it is possible in PHP.

What I want is this:

for( unsigned int i = 0; i < 10; i++ ) {
std::string name + i = "some value";
}

Is this possible - and if so; how?