Is it possible to only clear one part of the screen?? For example I am making a game and when you get into a fight underneath the all the data about monster etc etc there is a menu made with character mapping. I want this menu to update if the user deals damage dealt damage you know the ussual so that in to message part of the menu it says something like "You took 5 damage"and then it goes away in 3 sec or so
Here is the code for the menu:
As you can see this is not the one for my game but its the same princepleCode:#include <iostream> #include <conio.h> int main() { int hp = 10; int dam = 15; int lvl = 1; cout<<"ห ส ษ ศ ฬ อ ฮ ฯ ม ย ร ฤ า ำ ิ ึ ู ฺ น บ ป ฒ ณ ผ ฝ พ "; cout<<endl; cout<<endl; cout<<"ษออออออออออหอออออออออหออออออออออออออออออออออออออออออออออออออป"; cout<<endl; cout<<"บHP:"<<hp<<" บLVL:"<<lvl<<" บMESSAGES: บ"; cout<<endl; cout<<"บDAM:"<<dam<<" ฬอออออออออฮออออออออออออออออออออออออออออออออออออออน"; cout<<endl; cout<<"บ บ บ บ"; cout<<endl; cout<<"บ บ บ บ"; cout<<endl; cout<<"บ บ บ บ"; cout<<endl; cout<<"บ บ บ บ"; cout<<endl; cout<<"บ บ บ บ"; cout<<endl; cout<<"บ บ บ บ"; cout<<endl; cout<<"บ บ บ บ"; cout<<endl; cout<<"บ บ บ บ"; cout<<endl; cout<<"บ บ บ บ"; cout<<endl; cout<<"ศออออออออออสอออออออออสออออออออออออออออออออออออออออออออออออออผ"; getch(); return 0; }