I am trying to print a string of different data types, and my second column needs to be left justified. My code looks like:
printf("%15d%-3d", variable, name)
The second column keeps running into the first, so instead of columns like this:
they look like this:
If anyone has any ideas on how I can fix my formatting, problem, I would really appreciate help. Thanks.