Click here to Skip to main content
15,889,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionColoring ClistBox control Pin
Benjamin Bruno3-Oct-11 6:40
Benjamin Bruno3-Oct-11 6:40 
QuestionRe: Coloring ClistBox control Pin
David Crow3-Oct-11 6:54
David Crow3-Oct-11 6:54 
GeneralRe: Coloring ClistBox control Pin
Albert Holguin3-Oct-11 7:24
professionalAlbert Holguin3-Oct-11 7:24 
QuestionC++ Class Function Pointer Problem Pin
Falconapollo3-Oct-11 5:37
Falconapollo3-Oct-11 5:37 
QuestionRe: C++ Class Function Pointer Problem Pin
David Crow3-Oct-11 6:38
David Crow3-Oct-11 6:38 
AnswerRe: C++ Class Function Pointer Problem Pin
Richard MacCutchan3-Oct-11 7:00
mveRichard MacCutchan3-Oct-11 7:00 
AnswerRe: found error in line 33: (receiver-> *action)(num); Pin
Software_Developer3-Oct-11 7:20
Software_Developer3-Oct-11 7:20 
AnswerRe: C++ Class Function Pointer Problem Pin
TheGreatAndPowerfulOz3-Oct-11 8:03
TheGreatAndPowerfulOz3-Oct-11 8:03 
Falconapollo wrote:
/*virtual*/void execute(int &num)
{
    (receiver-> *action)(num);
}
There is an extra space before the * in <big>receiver-> *action</big>.
Remove that space so it reads <big>receiver->*action</big>.
This will solve the compile problem.
If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams
You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering” - Wernher von Braun

GeneralRe: C++ Class Function Pointer Problem Pin
Falconapollo3-Oct-11 18:22
Falconapollo3-Oct-11 18:22 
QuestionRookie Alert! Need Help Learning C Pin
Veeshal Beotra2-Oct-11 19:49
Veeshal Beotra2-Oct-11 19:49 
AnswerRe: Rookie Alert! Need Help Learning C Pin
Madhu Nair2-Oct-11 20:30
Madhu Nair2-Oct-11 20:30 
AnswerRe: Rookie Alert! Need Help Learning C Pin
MSTzhao2-Oct-11 21:34
MSTzhao2-Oct-11 21:34 
AnswerRe: Rookie Alert! Need Help Learning C Pin
Richard MacCutchan2-Oct-11 21:42
mveRichard MacCutchan2-Oct-11 21:42 
AnswerRe: Rookie Alert! Need Help Learning C Pin
ThatsAlok2-Oct-11 23:42
ThatsAlok2-Oct-11 23:42 
AnswerRe: Rookie Alert! Need Help Learning C Pin
TheGreatAndPowerfulOz3-Oct-11 7:22
TheGreatAndPowerfulOz3-Oct-11 7:22 
GeneralRe: Rookie Alert! Need Help Learning C Pin
Veeshal Beotra4-Oct-11 6:35
Veeshal Beotra4-Oct-11 6:35 
AnswerRe: Rookie Alert! Need Help Learning C Pin
Legor4-Oct-11 1:43
Legor4-Oct-11 1:43 
GeneralRe: Rookie Alert! Need Help Learning C Pin
Veeshal Beotra4-Oct-11 6:37
Veeshal Beotra4-Oct-11 6:37 
QuestionDrawing text issue Pin
csrss2-Oct-11 9:44
csrss2-Oct-11 9:44 
AnswerRe: Drawing text issue Pin
KingsGambit2-Oct-11 18:30
KingsGambit2-Oct-11 18:30 
GeneralRe: Drawing text issue Pin
csrss3-Oct-11 5:56
csrss3-Oct-11 5:56 
AnswerRe: Drawing text issue Pin
john56322-Oct-11 19:51
john56322-Oct-11 19:51 
GeneralRe: Drawing text issue Pin
csrss3-Oct-11 6:58
csrss3-Oct-11 6:58 
QuestionShow information in the same dialog after press diferent button Pin
antonio3432-Oct-11 6:23
antonio3432-Oct-11 6:23 
AnswerRe: Show information in the same dialog after press diferent button Pin
André Kraak2-Oct-11 7:06
André Kraak2-Oct-11 7:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.