N
NeeZee
hi,
im new to this group and to the c++-language.
the problem:
i need an array-like class/data structure whose dimension can be set
dynamically. i noticed that there is a vector-class in STL, but i need
to find a way to convert that structure back to an ordinary array
because there's a function from a matrix-library that needs an array as
parameter and that i want to call.
i guess its not as easy as in java for example, where u got a method
like vector.toarray(). maybe someone knows how to do it anyway.
thanks.
im new to this group and to the c++-language.
the problem:
i need an array-like class/data structure whose dimension can be set
dynamically. i noticed that there is a vector-class in STL, but i need
to find a way to convert that structure back to an ordinary array
because there's a function from a matrix-library that needs an array as
parameter and that i want to call.
i guess its not as easy as in java for example, where u got a method
like vector.toarray(). maybe someone knows how to do it anyway.
thanks.