Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPlease solve my problem its very urgent Pin
santhosh-padamatinti14-Jun-09 1:23
santhosh-padamatinti14-Jun-09 1:23 
AnswerThe best way to make urgent question answered Pin
CPallini14-Jun-09 21:54
mveCPallini14-Jun-09 21:54 
QuestionRe: Please solve my problem its very urgent Pin
David Crow15-Jun-09 3:02
David Crow15-Jun-09 3:02 
AnswerRe: Please solve my problem its very urgent Pin
Randor 15-Jun-09 6:33
professional Randor 15-Jun-09 6:33 
Questionchar* as return type in dll Pin
_808613-Jun-09 23:05
_808613-Jun-09 23:05 
AnswerRe: char* as return type in dll Pin
Stuart Dootson14-Jun-09 2:26
professionalStuart Dootson14-Jun-09 2:26 
GeneralRe: char* as return type in dll Pin
_808614-Jun-09 4:13
_808614-Jun-09 4:13 
GeneralRe: char* as return type in dll Pin
_808614-Jun-09 4:21
_808614-Jun-09 4:21 
GeneralRe: char* as return type in dll Pin
0x3c014-Jun-09 6:44
0x3c014-Jun-09 6:44 
QuestionWhere does VC9 store its run time type info? Pin
followait13-Jun-09 16:55
followait13-Jun-09 16:55 
AnswerRe: Where does VC9 store its run time type info? Pin
harold aptroot13-Jun-09 22:44
harold aptroot13-Jun-09 22:44 
AnswerRe: Where does VC9 store its run time type info? Pin
Stuart Dootson14-Jun-09 2:26
professionalStuart Dootson14-Jun-09 2:26 
QuestionPassing CDialog results to CFormView ?? Pin
Vaclav_13-Jun-09 15:45
Vaclav_13-Jun-09 15:45 
AnswerRe: Passing CDialog results to CFormView ?? Pin
Stuart Dootson14-Jun-09 2:21
professionalStuart Dootson14-Jun-09 2:21 
AnswerRe: Passing CDialog results to CFormView ?? Pin
krmed14-Jun-09 4:23
krmed14-Jun-09 4:23 
GeneralRe: Passing CDialog results to CFormView SOLVED Pin
Vaclav_14-Jun-09 14:10
Vaclav_14-Jun-09 14:10 
QuestionEncryption / Decryption Pin
queries36513-Jun-09 10:01
queries36513-Jun-09 10:01 
QuestionDoubt - C [modified] Pin
musiclover9113-Jun-09 8:10
musiclover9113-Jun-09 8:10 
AnswerRe: Doubt - C Pin
_808613-Jun-09 21:47
_808613-Jun-09 21:47 
AnswerRe: Doubt - C Pin
killabyte14-Jun-09 1:28
killabyte14-Jun-09 1:28 
AnswerRe: Doubt - C Pin
Stuart Dootson14-Jun-09 2:19
professionalStuart Dootson14-Jun-09 2:19 
GeneralRe: Doubt - C Pin
musiclover9118-Jun-09 23:19
musiclover9118-Jun-09 23:19 
Questiontypedef struct constructor Pin
akira3213-Jun-09 6:50
akira3213-Jun-09 6:50 
If I define the constructor of typedef struct, it will appear some error(error C4430,errorC4183). How do I solve this problem?

struct b 
{ 

     b() 
     { 

     } 

     b(int p1) 
     { 
     m_p1=p1; 
     } 

     int m_p1; 
};

typedef struct 
{ 

	a() 
	{ 

	} 

	a(int p1) 
	{ 
		m_p1=p1; 
	} 

	int m_p1; 
}a; 


1>d:\windowsxpdoc\visual studio 2008\projects\t3\t3\t3dlg.cpp(156) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\windowsxpdoc\visual studio 2008\projects\t3\t3\t3dlg.cpp(158) : warning C4183: 'a': missing return type; assumed to be a member function returning 'int'
1>d:\windowsxpdoc\visual studio 2008\projects\t3\t3\t3dlg.cpp(161) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\windowsxpdoc\visual studio 2008\projects\t3\t3\t3dlg.cpp(163) : warning C4183: 'a': missing return type; assumed to be a member function returning 'int'
AnswerRe: typedef struct constructor Pin
Ozer Karaagac13-Jun-09 7:20
professionalOzer Karaagac13-Jun-09 7:20 
QuestionHelp - Capture window to bitmap Pin
softwaremonkey13-Jun-09 5:25
softwaremonkey13-Jun-09 5:25 

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.