I have just started on the tutorial 'Visual C++ in 24 hours'. However, I'm stuck in chapter 11, where the book instructs to 'declare two new variables in the attributes part of the declaration of the Class CDCTestview'. The file DCDTestdoc, however, does not contain any 'attributes' but instead declarations of 'public and protected' variables. I have instead inserted the text:
CMap < int, int, CString, CString > m_map;
in several places that seemed obvious, but the program crashes and announces that m_map and nMapMode are undeclared. Can anyone tell me where to declare these variables?
Arjan de Bruijn