要如何才可以讓 test9.txt 輸入的資料換行?? 再把 test9.txt 裡面的資料讀出在銀幕上
int main(void){
cout << "輸入"<<'\n';
cin >> y;
FILE *filepointer;
filepointer=fopen("C:\\test9.txt","w");
fprintf(filepointer,y);//寫入字串test9
//fprintf( stderr, "C:\\test0.txt")
printf(y);
fclose(filepointer);
}