#include <stdio.h>
int main( int argc, char **argv) {
FILE *fp = fopen( "file.abc", "w");
if (fp) {
fprintf( fp, "This is my file\n");
fclose( fp);
return 0;
} else {
printf( "Unable to open file for writing\n");
return 1;
}
} // main