使用fopen()及fclose() 開啟關閉檔案. #include<stdio.h> int main(){ FILE *pFile; char buffer[]={ 'H','e','y' }; pFile = fopen( "write.txt","w" );
確定! 回上一頁