Operating System - HP-UX
1833790 Members
2903 Online
110063 Solutions
New Discussion

Re: HP C/aC++ Developer's Bundle

 
Larry Manus
Occasional Contributor

HP C/aC++ Developer's Bundle

2 part question
1: I upgraded to the new HP C/aC++ Developer's Bundle -- ie HP ANSI C++ B3910B A.03.70 and now one of our developer are saying quote"
Here is my code for the istream problem:

void printAgent( istream& iss, ostream& oss, void *)
{
string posId;
iss >> posId;
int sLen = posId.length();

At the command line, I enter a 4 digit character position id and the results are sLen has a value of 7; the four digits I entered plus 3 characters of -1 (0xFF)."

cssdev01:/
root:> swlist | grep -i c++
B9007AA B.11.11.16 HP C/aC++ Developer's Bundle
PHSS_33945 1.0 HP aC++ -AA runtime libraries (aCC A.03.76)
cssdev01:/
root:> swlist | grep ANSI
B3901BA

2: Since I'm not very knowledgeable on the compilers, do I also need to obtain the HP aC++ runtime libraries as well -- the ones that are now -AA?

tks
lm
2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: HP C/aC++ Developer's Bundle

>At the command line, I enter a 4 digit character position id and the results are sLen has a value of 7;

Passing cin to printAgent, I just get the 4 digits I typed.

>2) do I also need to obtain the HP aC++ runtime libraries as well -- the ones that are now -AA?

Yes, you need to get the runtime libs too. But it seems PHSS_33945 is the latest.
http://h21007.www2.hp.com/portal/site/dspp/template.PAGE/page.document/?ciid=2645dec4c7563110VgnVCM100000275d6e10RCRD#b11.11pa
Larry Manus
Occasional Contributor

Re: HP C/aC++ Developer's Bundle

Dennis - Thank you for the quick reply --
1: I sent this info to our developer - waiting on a reply, tks
Last I found infor on the this ITRC site about stream concerns on 3.70 and recommended upgrade to A.03.77 -- so, I did

CURRENT --
> cssdev01:/
root:> swlist | grep aC
B9007AA B.11.11.16 HP C/aC++ Developer's Bundle
PHSS_33945 1.0 HP aC++ -AA runtime libraries (aCC A.03.76)
PHSS_36087 1.0 HP aC++ Compiler (A.03.77)