Jump to content

C++ Wordwrapping


Recommended Posts

Is there anyway to wordwrap C++ output? I have a program with quite a few long output statements and I really don't feel like going back through it and having to format it all to a DOS window. Any ideas?

Share this post


Link to post
Share on other sites

That's what it does now, I need it to wordwrap everything (To Markie)

482667[/snapback]

 

I don't follow. That is word wrapping... it word wraps when the text reaches the edge of the window... ??

 

You may have to explain just what you mean?

Share this post


Link to post
Share on other sites

I see, so... what you want is as the picture, but when the text reaches the edge the whole of the last word will get moved down to the next line??

 

Something like, uhm...

 

Example 1:

blah blah blah blah bl
ah blah blah blah bla
h

 

Example 2:

blah blah blah blah
blah blah blah blah
blah blah blah blah

 

You're after something more like example 2 instead of the [currently happening] example 1?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...