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 thread ...


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

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