Post a better way to clear the screen.
PROTIP: you can't
#include <stdio.h>
#include <stdlib.h>
//Sequential search for balances. 11/5/16
int main()
{
clr();
}
void clr(void)
//clears screen
{
int x = 0;
while(x<25)
{printf("\n");
x++;}
return;
}
>>57413311
you just learned C didn't you
ctrl-L
>>57413311
what if my has more than 25 lines?
>>57413457
*my terminal (emulator)
Get on my level#include <stdio.h>
int main() {
printf("%s", "\e[0;0H\e[2J");
return 0;
}
>>57413479
clr();
clr();
clr();
clr();
Cracked me up, good job
>>57413311
> explicitly writing return at end of void function
> not writing return 0 at end of main function
>>57413311console.log(new Array(require('process').stdout.rows).fill(require('os').EOL).join(''))
look no variables