i've tried both your methods maybe i'm doing something wrong.

codeplug i used your code but it always fails to open lpt1
and what exactly does
Code:
"ofstream lpt1("lpt1", ios::out || ios::binary)"
do?
creates an ofstream named lpt 1 but the second parameter has me confused

and Igor i tried using the stuff you gave me the program just runs and nothing happens.


any other information you provide is appreciated, trying to learn this stuff and its frustrating