How to send serial data from PC to arduino using a C++ program (using opencv to process vision inputs)

Are there any C++ libraries i can use to send data from PC to arduino via Xbee

There are several examples on various Arduino sites.