I'm beginner and i need help!! I dont know how to change number in character??? for example 4 --> **** or 6-->******
please help
Duoas, I don't think that is what he wants.
std::string has a constructor were you can specify what char and how many the string should consist of.
This code gives you a string consisting of 6 stars std::string(6, '*')
Ah, nice catch! I missed that.
Peter87 +1