linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arturas Moskvinas <arturas.moskvinas@gmail.com>
To: Ankit Jain <ankitjain1580@yahoo.com>
Cc: linux prg <linux-c-programming@vger.kernel.org>,
	newbie <linux-newbie@vger.kernel.org>
Subject: Re: Printf and scanf
Date: Sun, 5 Jun 2005 16:54:13 +0300	[thread overview]
Message-ID: <4a618d0805060506545a4337be@mail.gmail.com> (raw)
In-Reply-To: <20050605122105.1865.qmail@web52905.mail.yahoo.com>

> hi
> 
> this is a simple problem which somebody asked me and i
> am not able to solve. if somebody here can help me out
> 
> i just want to know how scanf function can be used on
> the place of printf and vice versa

Scanf reads from STDIN and printf writes into STDOUT. I do not think
there is any way to change reading operation with writing... Of course
some alchemy might help you :)

I think you misinterpreted something...

Arturas Moskvinas

  reply	other threads:[~2005-06-05 13:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-05 12:21 Printf and scanf Ankit Jain
2005-06-05 13:54 ` Arturas Moskvinas [this message]
2005-06-05 14:03   ` Eric Bambach
2005-06-24 21:20 ` Hendrik Visage
2005-06-27 18:11   ` Andriot

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=4a618d0805060506545a4337be@mail.gmail.com \
    --to=arturas.moskvinas@gmail.com \
    --cc=ankitjain1580@yahoo.com \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=linux-newbie@vger.kernel.org \
    /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 NNTP newsgroup(s).