I'm asking for help with format in C. The code has this line:
And the error is:
fprintf( OUTD , "%s" , SPARAM[ i ] );
And I think you might need to know this:
format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘struct PARAM’ [-Wformat]
I've cut it short here, but I think that's enough.
/* strings used by the program */
#define NPARAM 12
} SPARAM[ NPARAM ] =
"Criterion Used ",
"Criterion ROC ",
I can see what the problem is, but my programming ability is very low level, and I have no idea about C. I need to change the "%s", right?
I need to get this old C code working. Fortunately, I've had some good help here, and this is the only error message left.
Comments gratefully received.