i have to create a text editor using c.
n i want when the program runs a new file is opened.
what should to do so?
i have tried this..
#include<stdio. h>
#include<conio. h>
void main()
clrscr();
FILE *fp;
fp=fopen("untit led.txt",' w ');
char line[80];
scanf("%[^/n]",line);
}
Leave a comment: