生产者消费者问题VC实现


// pc问题.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "pc问题.h" #include "pc问题Dlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CPcApp BEGIN_MESSAGE_MAP(CPcApp, CWinApp) //{{AFX_MSG_MAP(CPcApp) // NOTE - the ClassWizard will add and remove mapping macros here. // DO NOT EDIT what you see in these blocks of generated code! //}}AFX_MSG ON_COMMAND(ID_HELP, CWinApp::OnHelp) END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CPcApp construction CPcApp::CPcApp() { // TODO: add construction code here, // Place all significant initialization in InitInstance } ///////////////////////////////////////////////////////////////////////////// // The one and only CPcApp object CPcApp theApp; ///////////////////////////////////////////////////////////////////////////// // CPcApp initialization BOOL CPcApp::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 CPcDlg dlg; m_pMainWnd = &dlg; int nResponse = dlg.DoModal(); if (nResponse == IDOK) { // TODO: Place code here to handle when the dialog is // dismissed with OK } else if (nResponse == IDCANCEL) { // TODO: Place code here to handle when the dialog is // dismissed with Cancel } // Since the dialog has been closed, return FALSE so that we exit the // application, rather than start the application's message pump. return FALSE; }






















































- 1


- 粉丝: 1
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 工业锅炉的微机ddc控制系统-自动化专业毕业设计论文范文.doc
- 机械制造自动化专业教学计划.doc
- 校园网络用户协议.doc
- 软件专业认识实习报告.doc
- 2020年网络销售工作计划范文三篇.doc
- 工程建设项目管理风险决策论文.doc
- 医疗网站推广策划书方案.docx
- 基于索尼公司的数码产品(网络)营销方案设计毕业设计.doc
- 基于单片机的电子钟.doc
- 基于倒谱的大学生语音识别算法研究.doc
- 2017计算机面试自我介绍.doc.doc
- 松江区直销软件服务方案.docx
- Python语言基本语法课件.pptx
- 通信仿真平台设计-学士学位论文.doc
- 2020年校园网站创业计划书.doc
- 一个基于RESTful架构设计的综合性API接口服务项目-提供包括随机笑话获取-多类型HTTP请求方法支持-完整状态码规范及错误处理机制-专门针对国内开发者优化的双平台同步部署方案.zip


