Just a quick question.... in Win2K/XP, how many lines does a default DOS console have? I know that Win9x has 25 by default which can be changed to 50... I think Win2K/XP has a default of 50, but I want to check here
Just a quick question.... in Win2K/XP, how many lines does a default DOS console have? I know that Win9x has 25 by default which can be changed to 50... I think Win2K/XP has a default of 50, but I want to check here
well thanks...
Just use a for loop that prints a number on each line and see how many there are. It won't take that long.
- Sean
If cities were built like software is built, the first woodpecker to come along would level civilization.
Black Frog Studios
Try GetConsoleScreenBufferInfo() on MSDN...and try to be more patient next time
No, what I'm saying is that I don't have Win2K/XP and would like to know... I have searched around (here, MSDN, and the web), and have nothing... so I was wondering if someone with 2K/XP could just tell me..... otherwise I'll assume it's 50
The point is.....use the function I gave in your code and code around the results....that way your code will work on all win32 platforms..Originally posted by d00b
No, what I'm saying is that I don't have Win2K/XP and would like to know... I have searched around (here, MSDN, and the web), and have nothing... so I was wondering if someone with 2K/XP could just tell me..... otherwise I'll assume it's 50
i think
you can set the no of lines with this command
mode con lines =50
just try this
if you need to set your resolution
thnkx
[email protected] if you help
this has nothing to do whatsoever with your question but a law states that nobody can program a falling blocks game using the syllable 'tris'.