Connecting Tech Pros Worldwide Help | Site Map

console width?

 
LinkBack Thread Tools Search this Thread
  #1  
Old December 1st, 2005, 01:05 PM
Gernot Frisch
Guest
 
Posts: n/a
Default console width?

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, 01:15 PM
Marcus Kwok
Guest
 
Posts: n/a
Default 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, 07:55 PM
Jerry Coffin
Guest
 
Posts: n/a
Default 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.

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.