Re: Need help solving errors: C2533, C2511, C2144.
oh. sorry. I'm just really trying to get this done in time. I had 5 due tonight (with only 1 1/2 weeks to do them) and I only have 3 completely finished. The last one isn't getting done because I don't have time to type the code up and then compile it and debug. So I need this one to be as good as it can...
>>
Yes -- you didn't see the code I posted earlier?
Is this in response to supplying an explicit conversion? Because if so, I'm still doing something else wrong because i have the same thing in the code box you provided.
Re: Need help solving errors: C2533, C2511, C2144.
Ok, fixed that one. That was my fault for not checking my code exactly. I left const in the .h file.
But...now I'm back to that blasted C2511 error.
c:\documents and settings\tina\my documents\visual studio 2008\projects\csci112lab4\csci112lab4\invoice.cpp(113) : error C2511: 'void Invoice::print(void) const' : overloaded member function not found in 'Invoice'
c:\documents and settings\tina\my documents\visual studio 2008\projects\csci112lab4\csci112lab4\invoice.h(14) : see declaration of 'Invoice'
Re: Need help solving errors: C2533, C2511, C2144.
Did you update the declaration of print() in the .h file and the definition of print() in the .cpp file to correspond with the new signature of print()?
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Previous Thread in C++ Forum Timeline:C++ graphics