Hi
i'm trying to compile this code, but getting warning. need some help to understand what I'm doing wrong.
void printGraph(FILE *out, GraphRef G){
out = fopen (out, "w");
if( out==NULL ){
printf("Unable to open file %s for writing\n", out);
exit(1);
}
}
warning: passing arg 1 of `fopen' from incompatible pointer type