[aclug-L] Re: C question or Sometimes it's the simplest things...
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, 5 May 2000, Larry Bottorff wrote:
> I need to take an int and convert it to store/display as a binary
> string. That is, if I have 35 in need to store it as the char array
> 100011. Is there some simple function I'm not aware of?
Don't think (s)printf does it ... I'd just write a loop.
"Consistently separating words by spaces became a general custom about
the tenth century A.D., and lasted until about 1957, when FORTRAN
abandoned the practice." - Sun FORTRAN Reference Manual
-- This is the discussion@xxxxxxxxx list. To unsubscribe,