View Single Post
Old Apr 27th, 2005, 7:23 PM   #17
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Here's an idea: split the string into an array, separated by spaces. For example:
string words[] = {"The", "quick", "brown", "fox"};
You'd have to use pointers to do this, unfortunately. Next, just keep outputting and recording how many characters you've used, and add a new line whenever you need to. Generally, the console's 80 characters across.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote