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

|
Related Articles |
|
|