- Code: Select all
textbody=strcpy(text_body.text)
filename=strcpy(filenameactor.text)
saveVars("filename.sav", actors)
-or-
- Code: Select all
textbody=strcpy(text_body.text)
filename=strcpy(filenameactor.text)
FILE *fp;
fp = fopen("filename.txt", "w");
fprintf(fp, "textbody");
fclose(fp);