View previous topic :: View next topic |
Author |
Message |
Kimi
Joined: 30 Jan 2005 Posts: 23 Location: Argentina
|
getc VS fgetc and putc VS fputc |
Posted: Fri Feb 25, 2005 3:41 am |
|
|
Hello...
In my program I have two serial ports, one hardware and the other one software. I'm using fputc, fgetc, fprintf and Streams to use both serial ports. Does anybody know if the code size using fgetc in case of getc (for example) is too much? Or would it be better to, in a previouse line, include #use rs232 with the port configuration, and each time I switch from port do this, and not use fgetc.
Thanks!
Kimi |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Fri Feb 25, 2005 7:03 am |
|
|
Why not just test this yourself |
|
|
Kimi
Joined: 30 Jan 2005 Posts: 23 Location: Argentina
|
|
Posted: Fri Feb 25, 2005 9:16 am |
|
|
Hello
I have just finished modifying the code. just wanted to know if somebofy experienced a damatically decresed of code. I just earn only 0.5K...
It's not too much, but it's something.
Bye
Kimi |
|
|
|