is there any way to communite with LPT and Com port?
i mean is like assembly language we can send signal to a device but now i want it in C++ programming.

can anyone give some example?
how to open the port and the port name in C++.

10z for help!!!!