restructurization

This commit is contained in:
2026-05-28 14:23:39 +03:00
parent aca7e3617d
commit b493b36948
211 changed files with 28 additions and 161 deletions

21
_snippets/clr.c Normal file
View File

@@ -0,0 +1,21 @@
// make a simple "CLS"
#include <stdio.h>
#include <unistd.h>
void printstrings(const char *add){
for(int i = 0; i < 40; ++i)
printf("String %d - %s\n", i, add);
}
const char *x[] = {"first", "second", "third"};
int main(){
for(int i = 0; i < 3; ++i){
printf("\033c");
printstrings(x[i]);
sleep(1);
}
printf("\033c");
return 0;
}