I want to write a program in c++ which sends commands to Com1 on my computer. I know how to write the program itself but an having troubles figuring out how to send the program commands to the port. Please help.