This is what i got so far, it draws only 4 lines, i need it to draw as much lines as the length of the string. I dunno what to write witch would write spaces and lines accordingly.
No, there are some functions to do that eg: i.erase(i.size()-1); removes the last character from the string b = i.substr(0,i.size()-1) copies all the characters but the last one from i to b
( You should use double quotes for strings: "****" )
You can't declare variables of different types in a single statement.
You can just use the constructor: cout << string ( /*...*/ ) << //...
The right formula for the number of spaces is this: http://www.cplusplus.com/forum/beginner/16586/#msg82965
Why did you buyp if your post was already the first?