Apple ][ Helper
This commit is contained in:
16
Library/clear.h
Normal file
16
Library/clear.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef CLEAR_H
|
||||
#define CLEAR_H
|
||||
|
||||
#include <conio.h>
|
||||
|
||||
void clear(int w, int h){
|
||||
int i = 0;
|
||||
int j = 0;
|
||||
for(i=0; i<h; i++) {
|
||||
for(j=0; j<w; j++) {
|
||||
cputs(" ");
|
||||
}
|
||||
cputs("\n\r");
|
||||
}
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user