How can I concatenate i + name + letter + i?
for(int i = 0; i < 10; ++i){
//I need a const char* to pass as a parameter to another function
const char* name = "mki";
//The letter is equal to "A" for the first 2, "B" for the second 3,
//"C" for the following 4 ...
const char* final_string = ???
}
I already tried using:
std::to_string(i)
But I got an error saying that
to_string is undefined for std
I'm using Visual C++.