Hey, just wanted to let you guys know. I just read some tutorials at gametutorials.com and the way they write to files is complicating. I've found a easier way. Why didn't gametutorials use this?
Code:#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { FILE *fp; char filename[30]="SomeFile.txt"; fp= fopen(filename, "w"); fprintf(fp, "This is Test"); fclose(fp); system("pause"); return 0; }