printf, "unable to initialize PRN" message

Andrey Repin anrdaemon@yandex.ru
Wed Sep 11 06:55:00 GMT 2019


Greetings, Blair, Charles E III!

> I have  just installed cygwin (64 bit) and gcc.  The "hello world" program
> works, but

> #include<stdio.h>
> int main(){printf( "%c\n" , 'X' );return 0;}

> leads to
>  
> Unable to initialize device PRN
> Unable to initialize device PRN

Are you sure you're running the right program?
Try "./<yourprogram>" instead of just "<yourprogram>".


-- 
With best regards,
Andrey Repin
Wednesday, September 11, 2019 3:43:18

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list