First thanks to all who had the patience to stick
with me during my "kernel source headers" problem.
Once I downloaded & installed the correct files all
was well.

I'm porting C++ files to Linux from other Unix systems
& I'm finding that some programs (which work perfectly
elsewhere on at least two other flavours of Unix) are
failing because seekp() is not moving the pointer in
an ostrstream. 

The g++ version reported is 2.96 and the system is up
to date.
 
The code looks something like this:

 char output_array[1024];
 char something[10];
 ostrstream oa(output_array, 1024);
 oa.write(something); // which moves the pointer to 10
 oa.seekp(20L,ios::beg);
 cout << " Pointer posn : " << oa.tellp() << endl; 
 
gives:
 Pointer posn : 10 

Any ideas?

_______________________________________________________
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to