#include <stdio.h>
#include <math.h>
#include <string.h>


int main(void){
    int ch, i;
	FILE * fp=fopen("mystory.txt", "at");
    if(fp==NULL)
    {
        puts("파일오픈 실패!");
        return -1;
    }

	fputs("#즐겨먹는 음식: 짬뽕, 탕수육\n", fp);
	fputs("#취미: 축구\n", fp);

    fclose(fp);
    return 0;
	
}





Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: