Connecting Tech Pros Worldwide Help | Site Map

console width?

  #1  
Old December 1st, 2005, 02:05 PM
Gernot Frisch
Guest
 
Posts: n/a
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);}



  #2  
Old December 1st, 2005, 02:15 PM
Marcus Kwok
Guest
 
Posts: n/a

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
  #3  
Old December 1st, 2005, 08:55 PM
Jerry Coffin
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Console width =?ISO-8859-1?B?QW5kcukgSORuc2Vs?= answers 2 March 26th, 2008 03:55 PM
Console width and height, MS Visual C++ Piotrek answers 28 May 9th, 2007 12:05 AM
IIS, ASP, wshell.run, command prompt, console width, height maykil ceksin answers 0 October 25th, 2006 12:55 AM