mary is a pointer, so I can see why this wouldn't work, but *mary = whatever is not allowed either because of "new", right? Could someone explain what syntax I need to use to perform this operation. Mary = new vector >(16, vector(1<<12, 0)) Įrror 1 error C2679: binary '=' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion) c:\Users\jsparger\Documents\My Dropbox\ARI\VME_0.01\VME_0.01\V965.cpp 11 VME_0.01 I am trying to use a large 2D vector which I want to allocate with new (because it is large).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |