move remaining stuff from testcode/lib/ one level up to testcode/

This commit is contained in:
mrdudz
2020-09-29 19:12:34 +02:00
parent 3d8e787e66
commit dcee493e94
83 changed files with 0 additions and 2 deletions

View File

@@ -0,0 +1,31 @@
#include <stdio.h>
#include <string.h>
#include <conio.h>
int main (void)
{
unsigned char error = 0;
unsigned char line = 0;
unsigned char maxx, maxy;
screensize (&maxx, &maxy);
do {
printf ("%2d: %s\n", error, _stroserror (error));
if (line == maxy-3) {
printf ("Press any key...\n");
if (cgetc () == 'q') {
return 0;
}
clrscr ();
line = 0;
} else {
++line;
}
++error;
} while (error != 0);
return 0;
}