How would I go about changing a Win32 Window Title to a random string? I have a basic idea just wondering how it would be structured and written.
Here is my random string generation:
Here is my random string generation:
Code
void gen_random(char *s, const int len) {
static const char alphanum[] =
"0123456789"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz";
for (int i = 0; i < len; ++i) {
s[i] = alphanum[rand() % (sizeof(alphanum) - 1)];
}
s[len] = 0;
}All in on Ethereum



