fgets (str,sizeof(str),stdin); str[strlen(str)-1] = '\0'; ... For example, in case of C after encountering “scanf()” , if we need to input a character array ...
確定! 回上一頁