Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why does not MS only use the { } when define the Macro? Pin
CPallini11-Apr-12 22:31
mveCPallini11-Apr-12 22:31 
GeneralRe: Why does not MS only use the { } when define the Macro? Pin
yu-jian11-Apr-12 23:52
yu-jian11-Apr-12 23:52 
GeneralRe: Why does not MS only use the { } when define the Macro? Pin
CPallini12-Apr-12 2:55
mveCPallini12-Apr-12 2:55 
JokeRe: Why does not MS only use the { } when define the Macro? Pin
Rajesh R Subramanian12-Apr-12 5:10
professionalRajesh R Subramanian12-Apr-12 5:10 
GeneralRe: Why does not MS only use the { } when define the Macro? Pin
CPallini12-Apr-12 7:57
mveCPallini12-Apr-12 7:57 
AnswerRe: Why does not MS only use the { } when define the Macro? Pin
hebegumeci15-Apr-12 9:21
hebegumeci15-Apr-12 9:21 
Questiontemplate/callback function question Pin
remstadt11-Apr-12 13:24
remstadt11-Apr-12 13:24 
AnswerRe: template/callback function question Pin
Stefan_Lang17-Apr-12 2:15
Stefan_Lang17-Apr-12 2:15 
Since you solved it I'm not going to try this out, but to me it seems the compiler has no way to figure out the value of the template parameter N in your code. It might work if you pass that parameter explicitely, as in
C++
array_sum<10>(...);

Besides you don't pass the right arguments to that function pointer - and I'm not just referring to the unspecified identifier args, but also the parameter list.

On a sidenote, unless this is an exercise in learning the use of templates, that looks like an extremely complicated, awkward, and error-prone way to do some very simple calculations.
QuestionUltimate Grid Pin
ITISAG11-Apr-12 12:09
ITISAG11-Apr-12 12:09 
AnswerRe: Ultimate Grid Pin
Chandrasekharan P11-Apr-12 19:39
Chandrasekharan P11-Apr-12 19:39 
AnswerRe: Ultimate Grid Pin
Mohibur Rashid11-Apr-12 20:05
professionalMohibur Rashid11-Apr-12 20:05 
QuestionApplication migration from Visualstudio 2008 to visual studio 6 Pin
Member 881287111-Apr-12 7:57
Member 881287111-Apr-12 7:57 
AnswerRe: Application migration from Visualstudio 2008 to visual studio 6 Pin
Chris Losinger11-Apr-12 8:10
professionalChris Losinger11-Apr-12 8:10 
GeneralRe: Application migration from Visualstudio 2008 to visual studio 6 Pin
KRISHNARAYALU11-Apr-12 11:10
KRISHNARAYALU11-Apr-12 11:10 
QuestionHow to force to kill the specific progress on Win7 X64 Ultimate? Pin
Falconapollo10-Apr-12 3:37
Falconapollo10-Apr-12 3:37 
AnswerRe: How to force to kill the specific progress on Win7 X64 Ultimate? Pin
Richard MacCutchan10-Apr-12 5:34
mveRichard MacCutchan10-Apr-12 5:34 
GeneralRe: How to force to kill the specific progress on Win7 X64 Ultimate? Pin
Falconapollo10-Apr-12 22:42
Falconapollo10-Apr-12 22:42 
GeneralRe: How to force to kill the specific progress on Win7 X64 Ultimate? Pin
Richard MacCutchan11-Apr-12 0:01
mveRichard MacCutchan11-Apr-12 0:01 
AnswerRe: How to force to kill the specific progress on Win7 X64 Ultimate? Pin
Tox1k10-Apr-12 15:09
Tox1k10-Apr-12 15:09 
GeneralRe: How to force to kill the specific progress on Win7 X64 Ultimate? Pin
Falconapollo10-Apr-12 22:41
Falconapollo10-Apr-12 22:41 
AnswerRe: How to force to kill the specific progress on Win7 X64 Ultimate? Pin
ThatsAlok10-Apr-12 22:23
ThatsAlok10-Apr-12 22:23 
GeneralRe: How to force to kill the specific progress on Win7 X64 Ultimate? Pin
Falconapollo10-Apr-12 22:39
Falconapollo10-Apr-12 22:39 
AnswerRe: How to force to kill the specific progress on Win7 X64 Ultimate? Pin
Randor 11-Apr-12 4:26
professional Randor 11-Apr-12 4:26 
GeneralRe: How to force to kill the specific progress on Win7 X64 Ultimate? Pin
Falconapollo11-Apr-12 4:34
Falconapollo11-Apr-12 4:34 
GeneralRe: How to force to kill the specific progress on Win7 X64 Ultimate? Pin
Nelek12-Apr-12 12:59
protectorNelek12-Apr-12 12:59 

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.