Hi,
I`m using the following code:
freopen("RPN","w",stdout);
or:
#include<fstream.h>
void main()
{
ofstream lst("PRN");
lst<<"print this";
}
This works fine on the Borlandc Dos version,
but neither works on the BC5 windows compiler,
nor does it make the printer come online on the CBuilder though it does compile fine on all.
I guess there`s a linker setting or so.
Anybody knows any help?
I`d appreciate.
Johannes