getline does not work on HP-UX:

V

vivek.astvansh

Hi!

My code opens up a text file (gets an ifstream object), and then reads
a line using getline( ) method.

Interestingly, this code works on Solaris, and Linux, but not on HP-UX
(version 11.11).

Please help.

Thanks.
 
J

Jonathan Mcdougall

Hi!

My code opens up a text file (gets an ifstream object), and then reads
a line using getline( ) method.

Interestingly, this code works on Solaris, and Linux, but not on HP-UX
(version 11.11).

Please help.

We'd be happy to, but you must provide some code if you expect the
answer to be something else than "look on line 42".


Jonathan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top