Phill,

try using a typedef (a synonym for another type) declaration as a pointer to the Chromo vector

i.e

typedef Chromo* pChromo ;

then change your code to
pChromo *myChromoPool ; // Chromosome vector
myChromoPool = new (pChromo)[popSize]  ;

Not sure about the second problem as I would have to see the header file.

Best Regards,

Dave

David P. Langley
Director of Programming Services

Mapping Solutions, LLC
4660 S. Hagadorn Rd.
Suite 120
East Lansing, MI 48823
USA

Voice: (+1) 517-332-7735
Cell:  (+1) 517-402-3238
Fax:   (+1) 517-332-1329

Email: [EMAIL PROTECTED]
SMS:  5174023238 (@tmomail.net)

Visit our website: www.mappingsolutions.com

*** Need inexpensive GDT and NavTech street-level data for North America and Europe? Check out Map-In-A-Box at http://www.mapinabox.com ***
*** Map-In-A-Box Year-End Blowout!... Map-In-A-Box is on Sale Until December 31, 2004.. Check out Map-In-A-Box at http://www.mapinabox.com ***



--------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 14127



Reply via email to