Anything impressive unlike pic related that I'm working on?
the last thing I did was a Lights Off solver for general rectangular board sizes using a straightforward method I discovered. I found out later someone wrote a paper on in 20 years ago, so I'm a little late
include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main(void)
{
srand(time(NULL));
while (1)
{
char c = rand();
if (c >= '!' && c <= 'z')
putchar(c);
}
}
>>55851554
It's good practice though, whether someone else did before you or not
>>55851504
What IDE? I'm looking for a substitute because VS is bloated.
>>55851504
>Anything impressive unlike pic related that I'm working on?
Pro tip OP, you can use ASCII to your advantage so you don't need that table of chars. Look up the ASCII character set or something.
>>55851581
This is on Linux, the "IDE" is named Geany
>>55851588
Bretty nice, /g/entleman.
>>55851582
I did discover half way through that you can use characters inside an int pointer, which prints out the ASCII value, I just wanted to see how well the longer method would work out
>>55851564
that just does it indefinitely, I'd use a FOR loop for printing out a certain amount of them
>>55851660
and?
it's just as useless.