Question:
How do I fix this error in C++ in Visual Studio 2008?
i be a pirate
2009-10-15 17:57:24 UTC
Here is the main part of the error message:
error C2664: 'std::_Vector_iterator<_Ty,_Alloc> std::vector<_Ty>::insert(std::_Vector_const_iterator<_Ty,_Alloc>,const _Ty &)' : cannot convert parameter 1 from 'std::_Vector_iterator<_Ty,_Alloc>' to 'std::_Vector_const_iterator<_Ty,_Alloc>'
Three answers:
Tyler M
2009-10-15 18:01:55 UTC
it would be nice to see the offending line. try casting the object as (const)
2009-10-15 20:22:46 UTC
Hi,i be a pirat



There are 3 step to repair visual studio 2008 error



If you got visual studio 2008 error then there is a 94% chance that your computer has registry problems. To repair visual studio 2008 error you need to follow the steps below:



* Step 1 - Download a visual studio 2008 error repair tool,install this error repair tool.

* Step 2 - Click the Repair All Button.It will scan you pc for Free.

* Step 3 - Then click the Repair All Button again and your done! It is very easy to repair visual studio 2008 error.



Here are the url of visual studio 2008 error repair tool:http://www.fixerrorfast.com/ttfix-visual_studio_2008_error-zz0001
vendrick
2016-12-12 13:00:25 UTC
static: it means that the variable or functionality is globally available, meaning any piece of code can get good of get admission to to it (finding on get good of get admission to to modifiers, a private or safeguard static member of a sort ought to in elementary words be available indoors of that kind). is likewise significant to computer screen is that static variables are dispensed even till now the optimal functionality (the get good of get admission to to factor) is termed, and the order of their allocation and deallocation won't have the capacity to be desperate. you ought to rapidly use static variables and purposes for something that could desire to be accessed everywhere. the optimal functionality is static by way of fact the get good of get admission to to factor won't have the capacity to be tied to an merchandise. void: it quite is an merchandise form of types, quite now no longer an merchandise. It means now no longer something, quite. in case you be conscious a void functionality, it means it would not return something. String[] args: it quite is a variable assertion, quite an array (that's what the [] means, if their grew to alter right into a quantity between the [] it ought to element out the variety of things indoors the array). it particularly is an array (or sequence) of strings whose length isn't particular.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...