八皇后问题C++中的面向对象编程

上传者: maryda | 上传时间: 2022-11-04 16:21:50 | 文件大小: 2.52MB | 文件类型: ZIP
C++
C++面向对象编程八皇后问题 BOOL CMyqueenApp::InitInstance() { AfxEnableControlContainer(); // Standard initialization // If you are not using these features and wish to reduce the size // of your final executable, you should remove from the following // the specific initialization routines you do not need. #ifdef _AFXDLL Enable3dControls(); // Call this when using MFC in a shared DLL #else Enable3dControlsStatic(); // Call this when linking to MFC statically #endif // Change the registry key under which our settings are stored. // TODO: You should modify this string to be something appropriate // such as the name of your company or organization. SetRegistryKey(_T("Local AppWizard-Generated Applications")); LoadStdProfileSettings(); // Load standard INI file options (including MRU) // Register the application's document templates. Document templates // serve as the connection between documents, frame windows and views. CSingleDocTemplate* pDocTemplate; pDocTemplate = new CSingleDocTemplate( IDR_MAINFRAME, RUNTIME_CLASS(CMyqueenDoc), RUNTIME_CLASS(CMainFrame), // main SDI frame window RUNTIME_CLASS(CMyqueenView)); AddDocTemplate(pDocTemplate); // Parse command line for standard shell commands, DDE, file open CCommandLineInfo cmdInfo; ParseCommandLine(cmdInfo); // Dispatch commands specified on the command line if (!ProcessShellCommand(cmdInfo)) return FALSE; VERIFY( 1 == InitSkinMagicLib( AfxGetInstanceHandle(), "Demo" , NULL, NULL ) ); VERIFY( 1 == LoadSkinFromResource( AfxGetInstanceHandle() , "DEFAULT" ,"DEFAULT") ); VERIFY( 1 == SetWindowSkin( m_pMainWnd->m_hWnd , "MainFrame" )); VERIFY( 1 == SetDialogSkin( "Dialog" ) ); //((CMainFrame*)m_pMainWnd)->m_bSkinned = TRUE; //((CMainFrame*)m_pMainWnd)->m_nIndex = 0; m_pMainWnd->SetWindowText("八皇后问题演示"); // The one and only window has been initialized, so show and update it. m_pMainWnd->ShowWindow(SW_SHOW); m_pMainWnd->UpdateWindow();

文件下载

资源详情

[{"title":"( 38 个子文件 2.52MB ) 八皇后问题C++中的面向对象编程","children":[{"title":"myqueen","children":[{"title":"myqueen.h <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"myqueenDoc.h <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"xpgrean.smf <span style='color:#111;'> 49.60KB </span>","children":null,"spread":false},{"title":"myqueen.exe <span style='color:#111;'> 240.00KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"myqueenDoc.cpp <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"myqueen.rc <span style='color:#111;'> 12.89KB </span>","children":null,"spread":false},{"title":"myqueen.opt <span style='color:#111;'> 54.50KB </span>","children":null,"spread":false},{"title":"SkinMagicLib.h <span style='color:#111;'> 11.87KB </span>","children":null,"spread":false},{"title":"MainFrm.h <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"myqueen.dsw <span style='color:#111;'> 539B </span>","children":null,"spread":false},{"title":"DETOURS.lib <span style='color:#111;'> 71.61KB </span>","children":null,"spread":false},{"title":"myqueenView.h <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 4.23KB </span>","children":null,"spread":false},{"title":"myqueen.aps <span style='color:#111;'> 78.96KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"myqueen.dsp <span style='color:#111;'> 4.72KB </span>","children":null,"spread":false},{"title":"MainFrm.cpp <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"myqueen.clw <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"myqueen.exe <span style='color:#111;'> 240.00KB </span>","children":null,"spread":false},{"title":"myqueenView.obj <span style='color:#111;'> 36.31KB </span>","children":null,"spread":false},{"title":"myqueen.obj <span style='color:#111;'> 16.98KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 49.00KB </span>","children":null,"spread":false},{"title":"myqueen.res <span style='color:#111;'> 57.47KB </span>","children":null,"spread":false},{"title":"MainFrm.obj <span style='color:#111;'> 12.48KB </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 750B </span>","children":null,"spread":false},{"title":"myqueen.pch <span style='color:#111;'> 5.43MB </span>","children":null,"spread":false},{"title":"myqueenDoc.obj <span style='color:#111;'> 9.02KB </span>","children":null,"spread":false}],"spread":false},{"title":"SkinMagicLib.lib <span style='color:#111;'> 966.86KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"myqueenDoc.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"myqueen.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Toolbar.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"myqueen.rc2 <span style='color:#111;'> 399B </span>","children":null,"spread":false}],"spread":false},{"title":"myqueen.cpp <span style='color:#111;'> 4.57KB </span>","children":null,"spread":false},{"title":"myqueen.ncb <span style='color:#111;'> 201.00KB </span>","children":null,"spread":false},{"title":"myqueen.plg <span style='color:#111;'> 250B </span>","children":null,"spread":false},{"title":"myqueenView.cpp <span style='color:#111;'> 7.52KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明