-
在 c + + 中动态内存分配
需要使用结构、 指针和数组来开发这个程序。
- 2023-03-22 19:35:03下载
- 积分:1
-
1. 新建一个空的Win32项目(假设新建项目名称为SixthProj) 设置Win32应用程序向导的“应用程序设置”选项卡,“应用程序类型”项选择“Windo...
1. 新建一个空的Win32项目(假设新建项目名称为SixthProj) 设置Win32应用程序向导的“应用程序设置”选项卡,“应用程序类型”项选择“Windows应用程序”,“附加选项”部分选择“空项目”复选框。 VC++ .NET会为该项目新建一个解决方案,并在项目文件夹下产生四个文件:SixthProj.sln是解决方案管理文件,SixthProj是项目管理文件,SixthProj.ncb是项目数据库文件,SixthProj.suo是用户选项文件(它是一个隐藏文件,目前可以忽略) 2. 向项目添加一个新的cpp文件 3. 编写代码 通过设置WNDCLASS变量的lpszMenuName属性实现自动创建菜单操作 响应WM_COMMAND消息时处理各种菜单消息 4. 编译、执行程序-1. A new space projects Win32 (assuming the name of the new projects SixthProj) to install Win32 applications Wizard "application program" tab, "application type" choice "Windows Applications", "additional options" some chose to "empty item" check box. VC.NET project will be a new solution, and the project folder produced four documents : SixthProj.sln is document management solutions, SixthProj project management, project SixthProj.ncb database files, users SixthProj.suo options paper (it is a hidden files that can be ignored) 2. to add a new item to the cpp file 3. write code#
- 2022-08-03 14:11:26下载
- 积分:1
-
主要实现在程序之中加入一幅位图的功能程序源代码
主要实现在程序之中加入一幅位图的功能程序源代码-Main realize in the process of adding a function of bitmap source code
- 2022-07-09 16:59:23下载
- 积分:1
-
1.BOOL OnCommsCreate(CWnd* pParentWnd)
创建串口,本DLL同时创建5个串口。pParentWnd为窗口指针,一般为t...
1.BOOL OnCommsCreate(CWnd* pParentWnd)
创建串口,本DLL同时创建5个串口。pParentWnd为窗口指针,一般为this。
2. BOOL OnComportOpen()
根据串口设置文件中的设置参数,打开多串口。
3.void OnCommSend(unsigned int uiCom, CString sSendData, unsigned int uiKind)
往指定串口发送数据。其中uiCom为指定的串口,注意串口1的uiCom为0;sSendData为要发送的字符串; uiKind: 发送数据类型:0:原始数据 1:加回车符 2:加校验和。
4.void OnMscommsSet()
打开串口设置界面,改变串口设置,并保存到设置文件中。
5.BOOL OnComportTimerProcess(CString strProcess[MaxPort])
判断串口接收的一组数据是否已经接收完。
6. BOOL OnPopupDialog()
打开串口收发数据显示调试界面。
7. BOOL OnGetPortUse(unsigned int uiCom) .
判断指定串口是否使用。
8. BOOL OnGetPortExit(unsigned int uiCom)
判断指定串口在本机上是否存在。
9. void OnPortClose(unsigned int uiCom)
关闭指定串口。
10. void OnPortOpen(unsigned int uiCom)
打开指定串口。
11. void OnCloseAllPorts()
关闭所有串口。
12. void OnOpenAllPorts()
打开所有串口。
-1.BOOL OnCommsCreate (CWnd* pParentWnd) Serial create the DLL while creating five serial. PParentWnd pointer to the window, but generally this. 2. BOOL OnComportOpen () Serial document under the
- 2022-01-22 14:42:47下载
- 积分:1
-
象Windows3.1一样的非立体边框的平坦菜单
象Windows3.1一样的非立体边框的平坦菜单-The flat menu which likes the menu in Windows3.1
- 2022-07-02 04:29:23下载
- 积分:1
-
带图标的菜单
带图标的菜单-The menu with icon
- 2022-05-22 23:27:32下载
- 积分:1
-
vc简单的菜单代码和vc数据加密程序,希望vc初学者有点帮助与参考价值...
vc简单的菜单代码和vc数据加密程序,希望vc初学者有点帮助与参考价值-vc simple menu code and vc data encryption procedures in the hope that vc help beginners with a little reference value
- 2022-03-24 06:45:40下载
- 积分:1
-
源数字图像处理集(几何变换,边缘检测,…
数字图象处理源码集(几何变换,边缘检测,图象增强)-source digital image processing sets (geometric transformation, edge detection, image enhancement)
- 2023-02-27 19:25:03下载
- 积分:1
-
JavaScript编写的目录树菜单 目录树代码 V1.21 .无限分类 .以"
JavaScript编写的目录树菜单 目录树代码 V1.21 .无限分类 .以"-"数目表示层数,清晰明了 .动态展开&收缩 天窗 http://www.faisun.com 暖阳 faisun@sina.com 2004 年 11 月-JavaScript prepared by the tree menu tree code V1.21. Unlimited classification. "-" Number, said the number of layers clarity. Dynamic started contraction skylight http://www.faisun.com Genial sun faisun@sina.com November 2004
- 2023-04-30 08:25:03下载
- 积分:1
-
Java编写的具有XP风格的菜单,提供学习之用
Java编写的具有XP风格的菜单,提供学习之用-written in Java with XP-style menus, with the provision of learning
- 2023-01-24 14:25:03下载
- 积分:1