For C/C++ on Windows you have (at least) two choices:
- Use the SerialPort class provided by .NET.
- Use the Win32 API. There is an extensive MSDN article dating back to 1995, and many free libraries and examples on the web to get you started.
The .NET option will be much easier.