comp.lang.ada
 help / color / mirror / Atom feed
From: nabbasi@pacble.net.NOSPAM
Subject: Re: put a character back to the input stream
Date: 1999/10/23
Date: 1999-10-23T00:00:00+00:00	[thread overview]
Message-ID: <7ut91r$nih@drn.newsguy.com> (raw)
In-Reply-To: 3811B324.D0CC49A3@hotmail.com

In article <3811B324.D0CC49A3@hotmail.com>, Frank says...
>
>is there any function in ada which can put a read character back to the
>input stream like cin.putback(c) in c++. it happens when i have a input
>which i read a character each time
>"name + 342"
 
package  Interfaces.C_Streams has function :

  function ungetc (c : int; stream : FILEs) return int;

(and all the other standard C stream functions.) 

\nasser





  reply	other threads:[~1999-10-23  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-23  0:00 put a character back to the input stream Frank Shixiang Yan
1999-10-23  0:00 ` nabbasi [this message]
1999-10-24  0:00   ` Robert Dewar
1999-10-25  0:00 ` Ted Dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox