응용 프로그램을 끝내려하지만 (Visual C++ 프로그램의 기본 구조를 알아야 함) MSDN 코드가 허용되지 않습니다. 내가 도대체 뭘 잘못하고있는 겁니까? error C3254: 'Program::Form1' : class contains explicit override 'Exit' but does not derive from an interface that contains the function declaration
error C2838: 'Exit' : illegal qualified name in member declaration
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
는 오늘 VS 2008 년 시도 내 첫 날 내가 여기에 대한 유용한 정보를 찾을 수 없습니다 Visual C++에서 응용 프로그램 종료
입니다
warning C4183: 'Exit': missing return type; assumed to be a member function returning 'int'
:
private: System::Void exitToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e)
{
}
Application::Exit(); };
오류는이 코드를 실행에있다