I have two functions, one which produces messages like Starting initialization... and another which checks return codes and outputs \"Ok\", \
Starting initialization...
\"Ok\"
\
printf allows formatting with width specifiers. e.g.
printf
printf( "%-30s %s\n", "Starting initialization...", "Ok." );
You would use a negative width specifier to indicate left-justification because the default is to use right-justification.