// In the class declaration
protected:
virtual const AFX_MSGMAP* GetMessageMap() const;
// In the class implementation
const AFX_MSGMAP* CMainWindow::GetMessageMap() const
{ return &CMainWindow::messageMap; }
What is the meaning of the "const" keyword at the end of the sentence? I am not very familiar with C++ language and I have never seen anything like this in C language.