Connecting Tech Pros Worldwide Help | Site Map

console width?

Gernot Frisch
Guest
 
Posts: n/a
#1: Dec 1 '05
Is there an std way to get the width of my console window? If not -
how to do it on Win32?

--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}



Marcus Kwok
Guest
 
Posts: n/a
#2: Dec 1 '05

re: console width?


Gernot Frisch <Me@privacy.net> wrote:[color=blue]
> Is there an std way to get the width of my console window? If not -
> how to do it on Win32?[/color]

As Standard C++ does not really know about a "console", you need to ask
on a Windows newsgroup.

--
Marcus Kwok
Jerry Coffin
Guest
 
Posts: n/a
#3: Dec 1 '05

re: console width?



Gernot Frisch wrote:[color=blue]
> Is there an std way to get the width of my console window? If not -
> how to do it on Win32?[/color]

No standard way. For Win32, you probably really want to ask about
GetConsoleScreenBufferInfo somewhere like
comp.os.mw-windows.programmer.win32 to get any real help.

--
Later,
Jerry.

Closed Thread