I need to limit to a specific value that would be 511
char command[512];
I tried with
char command[512];
scanf("%511s",command);
if (StrToInt(command))>511)
printf("FIX ATK");
and this too
char command[512];
scanf("%511s", command);
if (strlen(command) > 511)
printf("FIX ATK");
And I did not succeed, does anyone know how to solve it?