C/C++ code to read serial port

Hello,
I need some code or pointers which could help me to read/write serial port of my pc.
Basically i need to read a weighing machine connected to my pc.
Thanks in advance.
Regadrs,
Sunit
[210 byte] By [hsunitb] at [2007-11-17 11:58:40]