[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

Hot_key and clear

I wonder which commands could I use  to clear the screen (Dos console) with Visual C++ and on the Win 95 platform.
0
pFaz69
Asked:
pFaz69
  • 3
1 Solution
 
nietodCommented:
5 pts buys you:

FillConsoleOutputCharacter().

and

FillConsoleOutputAttribute()

is a bonus,
0
 
nietodCommented:
5 pts buys you:

FillConsoleOutputCharacter().

and

FillConsoleOutputAttribute()

is a bonus,
0
 
pFaz69Author Commented:
thanks Nietod!
Your soulution works well, but there isnt' anything simper? Like a Clear() func?
0
 
nietodCommented:
Nope, Microsoft programmers are prohibited from using any function name that is less than 100 characters long, and 500 is the recommended length.

Just write your own Clear() function that calls theirs.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now