I'm guessing first[] is the first name of the person. Have you tried something like


cfPtr = fcreate( first, "w" );
?

The file input/output functions work just as well using string variables...