On Fri, 5 Jul 1996, Brian Williams - Nashak wrote:
> you know how like in do_users, how it shows like format "%-21s" for to
> make to take up 21 spaces, no matter if it is 2 or 10 or whatever.. how
> would I make it so even if it takes up like 30, it still only shows 21
> letters?
As far as I remember you could do a %21.21s , or %-21.21s .. the later
one beeing left alligned. erm... at least this is my shot... I can look
it up in a C book if it doesnt work.. BUT, as someone once said, ONLY
' wenn es gar nicht anders geht, dann halte dich an die gebrauchsanveisung'
err (thing I got it spelled right, don't flame me germans :)
the manual beeing the C manual here :) *grin*
Regards,
Con.
d.
--
Rasmus Rønlev DOEK'94 WWW: http://www.econ.cbs.dk/people/raro94ab
Student instructor MUD: exiled.mud.circlemud.org 5000
199.199.16.100 5000
Student, B.Sc in Computer Science and Business Administration.
This archive was generated by hypermail 2b30 : 12/07/00 PST