codeblocks horizontal scroll bar in console

Hello. I want to show my output in one line. But my output breaks to next line even before endl is encountered.

how can I fix this problem ?

codeblocks horizontal scroll bar in console?

is it c++ formatting issue or console issue?
Last edited on
It is a console issue. By default it has 80 character width and unconditionally breaks line when exceed that limit. You can manually change it in console window properties or google for WinAPI functions which can do this.
Also I heard that console was made more friendly in Windows10
I am using Ubuntu
Fiddle with terminal settings. There should be something to either allow horisontal scroll bars, or just change terminal width.
Topic archived. No new replies allowed.