Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Explain this compiler error?

Status
Not open for further replies.

zeveck

Programmer
Jun 6, 2005
142
US
Can anybody explain what this means:

Code:
cannot convert parameter 4 from 'char (const char &) const' to 'char (__thiscall *)(const char &) const'
 
Can you post the line of code that causes that error?
 
You seem to be trying to use a pointer to a non-member function when a pointer to a member function is expected.As there is no valid conversion the compiler bails.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top