comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian_drummond@btconnect.com>
Subject: Re: newline in a simple program
Date: Tue, 18 Dec 2007 14:13:51 +0000
Date: 2007-12-18T14:13:51+00:00	[thread overview]
Message-ID: <17lfm3d9fne832o819t3npcafdg5hjjm5f@4ax.com> (raw)
In-Reply-To: M1P9j.7718$wy2.3046@edtnps90

On Tue, 18 Dec 2007 12:28:28 GMT, Paul <duneo@telus.net> wrote:

>Hi, given the following two simple programs
>
>The c program does not print a new-line, but the ada program does.
>
>Is there any way to make the ada program not print a new-line?

>And is this behavior part of the Ada standard or is it just part of gnat?

Neither; it's part of the ada.text_io library.

It should be possible to find documentation on ada.text_io, or read
ada.text_io.ads itself for more information.

If that has no way to accomplish what you need, then you simply need a
different library; and that's where Dmitry's excellent answer comes in.

- Brian



  parent reply	other threads:[~2007-12-18 14:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-18 12:28 newline in a simple program Paul
2007-12-18 12:48 ` petter_fryklund
2007-12-18 13:11 ` Dmitry A. Kazakov
2007-12-18 13:45   ` petter_fryklund
2007-12-18 13:59     ` Dmitry A. Kazakov
2007-12-18 14:13 ` Brian Drummond [this message]
2007-12-18 14:49   ` petter_fryklund
2007-12-18 19:40     ` Jeffrey R. Carter
2007-12-18 16:44 ` Adam Beneschan
2007-12-19  4:35 ` anon
2007-12-19 11:43 ` Paul
replies disabled

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