Brainache
Member
|
STL
Hey there,
I've been attempting to use the STL classes ( vector,string ) and am getting errors ( usually due to memory management ( ie: redining the new operated, etc)
Do you know if Esenthel works with STL ( in particular: vector )
If not, does Esenthel have something comparable to STL's vector ?
If you arent familiar with vector.. its a template class for a dynamic array..
allows:
vector<myClass> data
data.addElement (new myClass() );
data[0]->myClassVariable = "blah"
that type of thing..
thanks
|
|
12-07-2008 11:05 PM |
|
Esenthel
Administrator
|
Re: STL
Hi,
Esenthel Engine already supports a wide variety of memory containers, please check:
- documentation\programming\memory containers
- header "misc\memory containers.h"
- tutorial "misc\memory containers"
most commonly Memb container is recommended.
|
|
12-07-2008 11:57 PM |
|
Brainache
Member
|
Re: STL
Very cool - works perfectly
|
|
12-08-2008 02:00 AM |
|