avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Re: sprintf


From: Vincent Trouilliez
Subject: Re: [avr-gcc-list] Re: sprintf
Date: Fri, 27 Feb 2009 22:37:30 +0100

On Fri, 27 Feb 2009 22:10:16 +0100
David Brown <address@hidden> wrote:

>       sprintf((A_String + i), "%c", 0xff)
> 
> has exactly the same effect as:
> 
>       A_String[i] = 0xff;
>       A_String[i + 1] = 0x00;
>       delay_about_1000_processor_cycles();
>       waste_about_2000_bytes_of_code_space();

ROTF ! :-))))

--
Vince




reply via email to

[Prev in Thread] Current Thread [Next in Thread]