2019年5月16日 星期四

瞎78打-10

( 1 ) 主題 : 檔案
( 2 ) 主題 : 關節,擺動作
( 3 ) 主題 : 複習
( 4 ) 作業 : 機器人擺動作
--------------------------------------------------------------------------------------
執行過程存成檔案

程式碼:
#include <stdio.h>
FILE * fout=NULL;
int main()
{
    fout=fopen("filename.txt","w+");
    for(int i=0;i<20;i++){
         fprintf(fout,"Hellow World\n");
    }
}
加入關節


沒有留言:

張貼留言