jlong32 Posted August 31, 2006 Share Posted August 31, 2006 where would i put the - character in the following code in order to make it left justified?printf("%30s ","School"); Quote Link to comment Share on other sites More sharing options...
effigy Posted August 31, 2006 Share Posted August 31, 2006 [tt]%-30s[/tt]. Look at sprintf in the manual. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.