C++ has no facilities for dealing with hardware like COM ports - that'd make it highly unportable. You will need to use a library/API provided by your OS or compiler vendor. I'd hazard a guess that ...