create text file c code example Example: c open a file and write stuff FILE *fopen( const char * filename, const char * mode );