Thread: I hate "C"
View Single Post
  #10   Spotlight this post!  
Unread 20-01-2007, 01:16
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: I hate "C"

I should put a caveat on this... if you did a %c - print out a character, printf wouldn't pull just one byte from the argument list... it would pull two bytes. Thats because C18 promotes all smaller sized arguments to int before passing them to printf.

And don't hate C just because the C18 implementation of C is somewhat, um, quirky.

Last edited by dcbrown : 20-01-2007 at 01:21.