I am attempting to capture input from the user via scanf:
char numStrings[5000];
printf("Enter string of numbers:
");
scanf("%s", numStrings);
However, the length of the string that is inputted is 5000 characters. The translation limit in c99 is 4095 characters. Do I need to instruct the user to break their input in half or is there a better work around that I cannot think of?
See Question&Answers more detail:os