[AGENT++] how to allocate vb binds in dynamic
Fedja Jeleskovic
mrawd2 at gmail.com
Tue Jan 25 17:03:37 CET 2005
> hi all
> i want to allocate a vb array in dynamic but i meet some trouble ....
> i have newed the array ,but i do not know how to access the any vb in
> the array----
>
> Vbx* pVbs = new Vbx[num];
> pVbs->set_oid(getOid);
> .....
> but how to set the oid in the two or three of the array ?
> i use the "pVbs++" but it looks like vbx do not have the operator "++"
> so i want to know how to do it?
Did you try:
pVbs[1]->set_oid(getOid1);
pVbs[2]->set_oid(getOid2);
> Thanks in advance !
> any tips will be appreciated!
> Jerry
>
> _________________________________________________________________
> 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
>
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://agentpp.org/mailman/listinfo/agentpp
More information about the AGENTPP
mailing list