From: rm-throwaway4@gunlab.com.ru
Subject: Unwanted newline
Date: 13 Jun 2005 02:11:12 -0700
Date: 2005-06-13T02:11:12-07:00 [thread overview]
Message-ID: <1118653872.708684.57360@g14g2000cwa.googlegroups.com> (raw)
May be I did not rtfm enough, but I can't find the answer.
rm@gloria ~/abinu
$ cat ctest.c
#include <stdio.h>
void main(void) {
putchar('X');
}
rm@gloria ~/abinu
$ cat test.adb
with ADA.TEXT_IO;
use ADA.TEXT_IO;
procedure test is
package IntIO is new ADA.TEXT_IO.INTEGER_IO(INTEGER);
use IntIO;
begin
PUT("X");
end test;
rm@gloria ~/abinu
$ ./ctest;echo Y
XY
rm@gloria ~/abinu
$ ./test;echo Y
X
Y
Apparently Text_Io places newline when program exits even if I did not
ask for it. How to output ONLY "X" in Ada, without newline?
next reply other threads:[~2005-06-13 9:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-13 9:11 rm-throwaway4 [this message]
2005-06-13 11:59 ` Unwanted newline Robert A Duff
2005-06-13 12:12 ` Georg Bauhaus
2005-06-17 20:20 ` Dr. Adrian Wrigley
2005-06-17 20:41 ` Mark Lorenzen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox