2022年5月24日 星期二

為哥的圖學筆記week14

 step01-1

寫檔 File Output
1.fopen ( )  開啟
2.printf ( )   =>  fprintf ( )  File output
3.fclose ( ) 關閉

step01-2

讀檔 File Input
1.把剛剛 week14-1_fprintf.cpp 拿來用
2.另外一組 FILE * fin = fopen("檔名","r");
3.scanf ()   =>   fscanf()



step02-1

做動畫:


沒有留言:

張貼留言

VERY BEAUTIFUL, VERY POWERFUL

一.     一樣先安裝且設定好freeglut,OpecCV, 開啟CodeBlocks建立新專案 week11_gundam,                 把 MyGundam.zip下載解壓縮後的data資料夾放到freeglut/bin裡面 把week09_openc...