Reputation: 934
I cant figure out how to disable wrapping with C code using window.h
Anyone know how to do this?
Thanks.
Upvotes: 0
Views: 2120
Reputation: 21
This is not c++-related problem. It is related to your command prompt. If you are a windows user, right-click on command-prompt's title and choose properties and follow the picture below.
Upvotes: 0
Reputation: 13144
Have a look at SetConsoleMode() and at the flags ENABLE_WRAP_AT_EOL_OUTPUT
and DISABLE_NEWLINE_AUTO_RETURN
.
Upvotes: 4