Click here to Skip to main content
15,562,903 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionconstructor and OnInitDialog() Pin
durban225-Apr-09 22:21
durban225-Apr-09 22:21 
AnswerRe: constructor and OnInitDialog() Pin
Stuart Dootson25-Apr-09 22:42
professionalStuart Dootson25-Apr-09 22:42 
AnswerRe: constructor and OnInitDialog() Pin
ThatsAlok26-Apr-09 22:18
ThatsAlok26-Apr-09 22:18 
QuestionFont text on command button Pin
durban225-Apr-09 22:16
durban225-Apr-09 22:16 
AnswerRe: Font text on command button Pin
Stuart Dootson25-Apr-09 22:38
professionalStuart Dootson25-Apr-09 22:38 
AnswerRe: Font text on command button Pin
Hamid_RT25-Apr-09 23:51
Hamid_RT25-Apr-09 23:51 
QuestionMFC exe Pin
linux_xjtu25-Apr-09 18:36
linux_xjtu25-Apr-09 18:36 
AnswerRe: MFC exe Pin
Stuart Dootson25-Apr-09 22:32
professionalStuart Dootson25-Apr-09 22:32 
First - when you paste C++ code, please tick the checkbox labelled "Auto-encode HTML when pasting?" That way, your #includes don't get obfuscated.

Secondly - I think your problem will be solved by putting the #include <iostream> before the #define new DEBUG_NEW - STL doesn't get on with MFC's debugging memory allocator, IIRC.

linux_xjtu wrote:
Then i would like to employ in .cpp file to prompt some hints with the help of "cout"
so in the .cpp file, #include is used.


I suspect this is the big, indirect problem - do you have a console in your MFC app? Without a console, std::cout won't do you much good.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

Question3d object with transparent background Pin
high25-Apr-09 10:38
high25-Apr-09 10:38 
QuestionHow to Find files using http url path? Pin
SIJUTHOMASP25-Apr-09 7:05
professionalSIJUTHOMASP25-Apr-09 7:05 
AnswerRe: How to Find files using http url path? Pin
Stuart Dootson25-Apr-09 7:12
professionalStuart Dootson25-Apr-09 7:12 
GeneralRe: How to Find files using http url path? Pin
SIJUTHOMASP25-Apr-09 7:50
professionalSIJUTHOMASP25-Apr-09 7:50 
QuestionRe: How to Find files using http url path? Pin
David Crow25-Apr-09 17:46
David Crow25-Apr-09 17:46 
AnswerRe: How to Find files using http url path? Pin
Hamid_RT25-Apr-09 23:56
Hamid_RT25-Apr-09 23:56 
AnswerRe: How to Find files using http url path? Pin
SIJUTHOMASP26-Apr-09 4:37
professionalSIJUTHOMASP26-Apr-09 4:37 
GeneralRe: How to Find files using http url path? Pin
ThatsAlok26-Apr-09 19:34
ThatsAlok26-Apr-09 19:34 
QuestionStartup program blocked. Pin
Le@rner25-Apr-09 3:57
Le@rner25-Apr-09 3:57 
Questionhead file including problem Pin
linux_xjtu25-Apr-09 1:19
linux_xjtu25-Apr-09 1:19 
AnswerRe: head file including problem Pin
Garth J Lancaster25-Apr-09 1:37
professionalGarth J Lancaster25-Apr-09 1:37 
GeneralRe: head file including problem Pin
linux_xjtu25-Apr-09 3:24
linux_xjtu25-Apr-09 3:24 
GeneralRe: head file including problem Pin
Stuart Dootson25-Apr-09 4:26
professionalStuart Dootson25-Apr-09 4:26 
Questionsetting active audio output vista [modified] Pin
Snoepie25-Apr-09 1:03
Snoepie25-Apr-09 1:03 
AnswerRe: setting active audio output vista Pin
Yovav25-Apr-09 1:21
Yovav25-Apr-09 1:21 
GeneralRe: setting active audio output vista Pin
Snoepie25-Apr-09 1:37
Snoepie25-Apr-09 1:37 
AnswerRe: setting active audio output vista Pin
Stuart Dootson25-Apr-09 1:57
professionalStuart Dootson25-Apr-09 1:57 

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.