0
Multiply string by Integer
Which others languages do that again?
1 Answer
0
C++ doesn't support string multiplication operation. I would use a for loop and strcat() function to multiply (actually known as 'to concatenate') a string in c++.
I'm not sure about other languages, it seems that Perl has a operator 'x' which does the similar work though.