|
Basically my teacher gave me a problem in class that we have to write a program that reads lines of text into a string using the getline(cin, line) function and then type-sets these lines of text so that they are column aligned on the left and right margins like this:
"Beware_____the_____Jabberwock,_____my___son!"
i dont need those dashes underline but that is what the spacing is suppose to look like...
i basically know what to do using getline and set precision but i just need to know how to put in that spacing...someone want to start me off???
|