Le clear_the_line () de fonction dégage la rangée indiquée sur l'écran. Le codage de la fonction est comme suit :
/* Fonction pour dégager la ligne sur l'écran, pour le nombre indiqué de rangée */
void clear_the_line(unsigned int row)
{
unsigned int column;
/* There are 80 Columns in a Row (Line) */
for(column=1;column<=80;column++)
{
gotoxy(column,row);
cprintf(" "); /* Clear With " " */
}
}
Commentaires sur le codage :
La fonction est employée à l'espace libre la rangée indiquée sur l'écran. La fonction s'appelle avec le nombre de rangée, qui est d'être s'est dégagée de l'écran.
| Sample Chapters from book DATA RECOVERY WITH AND WITHOUT PROGRAMMING by Author Tarun Tyagi |
|
Publishers of the Book
Number of Pages
ISBN
Price of the Book
|
BPB Publications, New Delhi, India
540
81-7656-922-4
$69.00 (Including Shipping Charges, Cost of Book and Other expenses, Free Source Code CD included with the Book)
|
 |
|
|