public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: "Blair, Charles E III" <c-blair@illinois.edu>, cygwin@cygwin.com
Subject: Re: printf, "unable to initialize PRN" message
Date: Wed, 11 Sep 2019 06:55:00 -0000	[thread overview]
Message-ID: <674846623.20190911034422@yandex.ru> (raw)
In-Reply-To: <DM5PR1101MB21371B0CFCA62F9ED7B582AA81B60@DM5PR1101MB2137.namprd11.prod.outlook.com>

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

  reply	other threads:[~2019-09-11  0:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11  0:50 Blair, Charles E III
2019-09-11  6:55 ` Andrey Repin [this message]
2019-09-11 19:54 ` Hans-Bernhard Bröker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=674846623.20190911034422@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=c-blair@illinois.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).