any help?
hello guys, I am new in VC++, and I am using Sams Teach yourself C++ in 21 days Book, I find these book complicated and with too many errors on its codes. I tried to call another dialog windows and this error occured.
C:\Program Files\Microsoft Visual Studio\MyProjects\Dialogs\DialogsDlg.cpp(297) : error C2039: ''m_iOption'' : is not a member of ''CMsgDlg''
c:\program files\microsoft visual studio\myprojects\dialogs\msgdlg.h(13) : see declaration of ''CMsgDlg''
Error executing cl.exe.
This is Day 5 on that book. Titled: "Getting User Feedback--Adding Dialog Boxes to Your Application". I am newbie so I just tried this book, but it gives me a lot of headache. Thanks for the help in advance
msdn.microsoft.com for the compiler codes, or install msdn locally.
The error speaks for itself, m_iOption isn''t declared in the header file (probably DialogsDlg.h), or the class it inherits from (if any). C++ is case sensitive, so it has to be dead right.
I would either skip ahead to the debug appendix (if the book has one), or re-read the chapters before, because you''ll going to be coming against that sort of thing often.
The error speaks for itself, m_iOption isn''t declared in the header file (probably DialogsDlg.h), or the class it inherits from (if any). C++ is case sensitive, so it has to be dead right.
I would either skip ahead to the debug appendix (if the book has one), or re-read the chapters before, because you''ll going to be coming against that sort of thing often.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement