Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main(void)
- {
- char str[65536];
- while(1){
- printf("入力してください。:");
- scanf("%s", str);
- int bytes = strlen(str);
- if(bytes <= 30 && bytes > 0) break;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment