Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C++
m_trades=ExtManagerPump->TradesUserHistory(loginno,from,to,&m_trades_total); 

This is my trouble give me a solution
Posted
Updated 30-Apr-14 4:12am
v4
Comments
Richard MacCutchan 30-Apr-14 10:12am    
Solution to what? Please add proper detail of what is the type of m_trades and the result of ExtManagerPump->TradesUserHistory.
Nelek 30-Apr-14 13:02pm    
Have a quick search with "operator overload", "assignment operator". You should implement it by your own in user defined classes.

1 solution

It means that the type of m_trades and and the return type of TradesUserHistory are not assignment-compatible. They would be compatible if the compile-time types were identical, or the return type was derived from the type of m_trades.

I explained what's wrong, but please don't ask us what to do; it would be the same as writing some gibberish and asking someone how to write it correctly. From the standpoint of the compiler, this assignment is gibberish, and we have no idea what did you want to tell by this incorrect statement.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900