This is the final mini step I need to do before my program is complete.
a line has 85 chars from begining to end. I want to start the line with an *and end a line with a *. The problem is, that I don't know how long the ref, and check_number will take to print. How do I accomplish such thing?
fprintf(report, "* Reference: %.10s%d\n ", ref, check_number);
I would like it to always print like that, no matter how long the ref, and check_number is.
* HDZK100 * * JCKSN101 * * AD102 *
and so on