ciao.
vogli assegnare con l'operatore [] ad un puntatore map <string,string> un valore , il problema è che se faccio :
codice:
map<string,string>* mAllTextures
//e
mAllTextures['a']= 'test'
il compilatore mi da quest errore:
Error 2 error C2107: illegal index, indirection not allowed c:\programmazione\c++\d3dxcreatemeshfvf\mesh\colla dareadertriangles.cpp 552

ho provato a fare

codice:
map<string,string>* mAllTextures
//e
*mAllTextures['a']= 'test'
ma niente da fare.