updated resources file to be able to clear the screen using system-specific calls

This commit is contained in:
Brendan Webb 2021-03-15 11:44:48 +11:00
parent 742a27dfe4
commit ad2d03eb75
3 changed files with 7 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,12 @@
#include <stdio.h>
int main() {
printf("brendo's c-learnings resources:\n\n");
#ifdef _WIN32
system("cls");
#else
system("clear");
#endif
printf("brendo's c-learnings resources:\n\n");
printf("- https://www.learn-c.org/");
printf("\n");
return 0;