[gecode-users] help --- how to create an object dynamically in Gecode?

Kayler Yao risoay at gmail.com
Sat Aug 29 04:59:47 CEST 2009


hi,
    I want to create an object of IntArgs in my program dynamically. For
instance " IntArgs *pt = new IntArgs(4); -----create an object of IntArgs
with four elements" or
"IntArgs *pt = new IntArgs [10];------create an array with 10 object of
IntArgs." They all be compiled with errors. And i haven't seen the examples
of create object dynamically in Gecode. And I want to know whether the
Gecode support to create object of Gecode class ? And how ?
Look forward to your reply!

Kayler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20090829/ee234930/attachment.htm>


More information about the gecode-users mailing list