Generation

generate functionTue, 28 Mar 2023

PROGRAMA PARA SPAMEAR 001000100001 Infinitamente en color verde

#include <stdio.h> #include <stdlib.h> #include <windows.h> #include <winbase.h> #include <time.h> void color(int); void comer(int); main () { int i = 0; srand(time(NULL)); while(1) { int random = rand() % 3; color(random); comer(random); i++; } return 0; } void color(int rand) { SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), rand); } void comer(int rand) { if (rand == 0) { printf("100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100

Questions about programming?Chat with your personal AI assistant