Quote:<string> is already included in header, else it would(n't) allow to append
Nope. <vector> is sufficient for that. Make sure #include <string> is there.
Quote:<string> is already included in header, else it would(n't) allow to append
for(unsigned int i=0; i<Textures.size(); i++){ delete Textures;}
//definitionvector<Material> Mtrls;//codeD3DXMATERIAL *mtrls=(D3DXMATERIAL*)mtrlBuf->GetBufferPointer();for(DWORD i=0;i<NumMtrls;i++){ Material mat; // other code Mtrls.push_back(mat);}
{1735} normal block at 0x06A7A378, 15192 bytes long. Data: < ? ? ? ?> 00 00 00 3F 00 00 00 3F 00 00 00 3F 00 00 00 3F
//definitionvector<Material> Mtrls;
std::vector<Material>(Mtrls).swap(Mtrls);