|
Whenever C programm generate output to screen (printf in plain C), you get "Output screen" and that strange text "Press ENTER to end terminal session". I think, that this also appears, if you use things like getch or scanf - whatever requiring user input from keyboard. I work on 4.3/4.5 with plain C, so I do not understand what means string test="TEST"..... > -----Original Message----- > From: jan.maes@1s.be [mailto:jan.maes@1s.be] > Sent: 03. detsember 2002. A. 18:58 > To: c400-l@midrange.com > Subject: [C400-L] Press ENTER to end terminal session. > > > Hi, > > I've got this simple program: > > > #include <string> > > using namespace std; > > int main(int argc, char *argv[]) > { > string test ="Test"; > return 0; > } > > > When executed on iSeries (V5R1) interactively, this program shows the > message: > "Press ENTER to end terminal session. " > > Does anyone know why this happens, and what I can do to avoid it? > It seems to occur whenever I use anything from the Standard > C++ library, > (even for <vector> and the like). > > > > > Best Regards, Vriendelijke groeten, Cordialement, > > > ______________________________________________ > > > > Jan Maes - Consultant > Direct Tel.: +32(0)9-280.22.45 - Direct Fax.: +32(0)9-280.22.49 > e-mail: jan.maes@1s.be > > Number One Systems > Attention! > We will change our name to 'IBS Technology & Services' as from > 1/1/2003 > > X. De Cocklaan 70 - 9830 Sint-Martens-Latem - Belgium > Tel.: +32 9 280 24 24 - Fax.: +32 9 280 24 25 > > > > > > _______________________________________________ > This is the C programming iSeries / AS400 (C400-L) mailing list > To post a message email: C400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/c400-l > or email: C400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/c400-l. > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.