W can read a string with spaces using scanf("%[^\n]s ",name); Here we can store ... Note: If using c99 or earlier, never use gets(), use fgets() rather.
確定! 回上一頁