have a very simple question:
how can i write something into a .txt file?
could write only few lines of code and got stuck. have no idea what to do next. can someone help?
#include <stdio.h>
int main(){
FILE *textfile;
textfile = fopen("test.txt", "w");
return 0;
}