If you want to get a single line of stdin in C, getline() is the go-to function. ... n", line, lineSize - 1); free(line); return 0; }.
確定! 回上一頁