Posts by Maicon Bispo • 1 point
1 post
-
-3
votes1
answer39
viewsQ: Limit a specific value to a string
need to limit and 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 that too char…