I am printing to a file and have the following problem that I can't seem to fix. When I print out the results the last two fields are skewed because of the differnet lengths of the names that get printed unter the column header "Name".
Here is the format that I am using:
Where: line_number is an integer, delay is a string, and name is a string.Code:fprintf(f," %i TIME %s.00 1.000 %s 0.0000E+00 1.000\n", line_number, delay, name);
My results are attached. Please see the file called results.txt