say i have
Code:
FILE *fhandle;
fhandle = fopen (argv[1],"w");
how do i pass that file handle into a function? and more importantly, how do i write the function signature that will properly accept the file handle? what data type do i give it?
hope this makes sense