anonlearner 0 Newbie Poster

I hace to design a fucntion that draws lines of charaters to create a picture, like a trangle or something.
The parameters are:
1) The symbol (letter or blank)
2) The line length(the number of charaters of that symbol)
3) An end line flag to incate the new line started
4) Uses one function to draw this pictue

-need character data such as a *
-must use a loop
-need and external file to maintain the layout on the page

c++