CCS C does it this way... ----- Original Message ----- From: "michael brown" To: Sent: Tuesday, March 19, 2002 11:23 PM Subject: Re: [PIC]: displaying a value on LCD > > At 08:09 AM 3/19/02 -0600, you wrote: > > > > printf(lcd_putc,"value in memory is %02x",NUMBER); > > > > > >Now I'm confused. Do you mean fprintf? If so, what C compiler are you > > >using where a FILE * is the same as a function pointer? Or does your > > >compiler have a "different" implementation of printf that can take an > > >"optional" first argument specifying a putchar type routine to be used > for > > >the output? > > > > Isn't this a good argument for more standardization in C compilers? > > > I've got nothing against them implementing a function like this, but > > calling it printf is not right. > > Spehro, > > I have to say that I must agree. They should have created a new function > name, they absolutely positively should NOT have done what they did. What C > compiler is this? How many other things did they mess up? > > michael > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics