R
Rick
Hi,
Other than "sprintf", is there some way we can easily format a string
composed of, say, integers? I know this might become off topic but I'm
using (an old version of) avr-gcc which does not support sprintf and I
need to patch up a string with a few integers and I dont want to do 10
strcat()'s.
I have a struct containing 3 ints (a struct representing time) and I
need to print the "hour" "minute" and "second" fields as: hh:mm:ss. Is
that possible without a combination of strcats and strcpys. Thanks
Rick
Other than "sprintf", is there some way we can easily format a string
composed of, say, integers? I know this might become off topic but I'm
using (an old version of) avr-gcc which does not support sprintf and I
need to patch up a string with a few integers and I dont want to do 10
strcat()'s.
I have a struct containing 3 ints (a struct representing time) and I
need to print the "hour" "minute" and "second" fields as: hh:mm:ss. Is
that possible without a combination of strcats and strcpys. Thanks
Rick