0
Can we multiply string with and int n in c++
As in python we multiply an integer n to a string to make it print n times. Can we do the same in c++ in any easy way? I know we can do it using some loop but is there any other simple way?
1 Respuesta
0
You always can override different operators to implement necessary functionality. Just pass int and string values to it and get what you want