Search:
Forum
General C++ Programming
problem with vectors
problem with vectors
Jun 21, 2009 at 2:29am UTC
sulthana
(7)
Hi
I am trying to use the vector of objects and assign a value to the vector using '=' operator as follows
vector<Panel> panelArray;
panelArray[panelCount] = Panel(x,y);
I am getting the following error.
error C2582: 'operator =' function is unavailable in 'Panel'
but the '='operator is overloaded in the vector class.So why can't I use it.
Please Help.
Jun 21, 2009 at 2:56am UTC
Disch
(13742)
You already have a thread here:
http://cplusplus.com/forum/general/12030/
Posting another thread when your original thread is clearly visible on the first page does not make people want to help you more, it just irritates them.
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs