c++ - Width of cout - display -



c++ - Width of cout - display -

i'm wondering: possible width of line in standard output? not std::cout.width() or std::setw() widths, actual maximum number of characters before os wrap line?

edit: inform, i'm using windows xp, though i'd prefer portable manner (everything else portable atm).

not using standard c++. cout not necessary bound console, in "width" meaningless.

of course of study possible using other libraries, e.g. ncurses.

if you're using linux, check getting terminal width in c?; if you're using windows, check getting terminal size in c windows?.

c++ command-prompt cout

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -