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
"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
 We will change our name to 'IBS Technology & Services' as from

 X. De Cocklaan 70 - 9830 Sint-Martens-Latem - Belgium
 Tel.: +32 9 280 24 24 - Fax.: +32 9 280 24 25

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 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.