getline does not work on HP-UX:



 DEVELOP > c-Plus-Plus > getline does not work on HP-UX:

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: ""
Date: 06 May 2006 07:00:48 AM
Object: getline does not work on HP-UX:
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.
.

User: "Jonathan Mcdougall"

Title: Re: getline does not work on HP-UX: 06 May 2006 02:05:24 PM
wrote:

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
.

User: "xiao deshi"

Title: Re: getline does not work on HP-UX: 06 May 2006 07:21:36 AM
try this code:
http://www.druid.net/~darcy/files/getline.c
vivek.astvansh@gmail.com =E5=86=99=E9=81=93=EF=BC=9A

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).
=20
Please help.
=20
Thanks.

.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER