sorry if this isn't the good forum to post my question to.
I have a STL/CLR vector called "vecteurMot":
private: cliext::vector<mot^>^ vecteurMot;
then I do a pusback to test it :
vecteurMot->push_back(gcnew mot("Mot FR : ", "Mot JP : ", "Ceci n'est qu'un exemple" ));
Everything compile, I run it then get a debugger error:
"Additional information: The referenced object isn't defined to an object instance" (That might be wrong, tried to translate from french to English)
Then I press Break, and the debugger show me those line :
size_type size()
{ // return length of sequence
return (_Mysize);
}
void push_back(value_type _Val)
{ // insert element at end
insert_n(size(), 1, _Val);
}
in the Vector file.
Hope you can help me.
Thanks.