-
在一个常规的C++ Builder设计模式编写的理解模式的建立…
设计模式中builder模式的一个例程
C++编写
看了代码对理解builder模式有很大帮助-Builder design pattern in a routine mode of C++ Prepared to understand the builder code reading mode helps a lot
- 2022-01-31 06:44:58下载
- 积分:1
-
读取住册表的例子
读取住册表的例子-read live CLSID example
- 2022-06-02 15:17:22下载
- 积分:1
-
C语言实现贪吃蛇
//: Snake.c
/* * * * * * * * * * * * * * * * * * * * * * *
// Project: RedSnake(贪吃蛇)
// Author: Problue
// Version: 1.0
// Date: 19:55 2012-10-29
* * * * * * * * * * * * * * * * * * * * * * */
#include
#include
#include
#include "pcc32.h"
// 定义地图的尺寸及坐标
#define MAP_WIDTH 32 // 地图宽度
#define MAP_HEIGHT 32 // 地图高度
#define OFFSET_X 1 // 地图左右的边距
#define OFFSET_Y 1 // 地图上下的边距
#define TOTAL_WIDTH (MAP_WIDTH + OFFSET_X * 2) // 窗口宽度
#define TOTAL_HEIGHT (MAP_HEIGHT + OFFSET_Y * 2) // 窗口高度
#define GotoMap(x, y) gotoTextPos((x) * 2, (y))
// 定义地图方格的状态,分别为: 空格、蛇头、蛇身、蛇尾、食物
#define BS_SPACE 0
#define BS_SHEAD 1
#define BS_SBODY 2
#define BS_STAIL 3
#define BS_FOOD 4
// 蛇默认长度
#define SNAKE_MIN_LEN 5
// 定义蛇运动方向: 上、下、左、右
#define DIR_UP 1
#define DIR_DOWN 2
#define DIR_LEFT 3
- 2022-05-15 19:59:34下载
- 积分:1
-
QT QPainttrans written using the QT graphic example of functions so that graphic...
QT-qpaintrans编写的QT图形示例函数,使图形可以旋转、缩放、平移
- 2022-03-04 08:34:17下载
- 积分:1
-
中国节日对照的源码,还有阴阳历转换,用于51单片机
中国节日对照的源码,还有阴阳历转换,用于51单片机-Chinese festival of the source control, as well as conversion阴阳历for 51 single-chip
- 2022-07-13 23:37:16下载
- 积分:1
-
VS编译出管理员权限的应用(DEMO)
在VISTA 后的WINDOWS都有程序需要管理员权限运行的问题,这源码演示VS2005编译出以管理员权限运行的应用,测试过WIN7,WIN8等系统。原理:在工程属性清单文件里面加入 app.mainfest 这清单文件。
- 2022-04-08 02:19:54下载
- 积分:1
-
理工科大学的关于大整数运算的问题.用C++编写.
理工科大学的关于大整数运算的问题.用C++编写.-Science and Engineering University of large integer arithmetic on the issue. C preparation.
- 2022-03-23 08:12:51下载
- 积分:1
-
这是MSDN里面带的程序例子,用来检查某一个进程GDI的使用情况。对于在95、98下面进行调试和测试有很大的用处。...
这是MSDN里面带的程序例子,用来检查某一个进程GDI的使用情况。对于在95、98下面进行调试和测试有很大的用处。-inside with the procedures example, used to check a process of the use of GDI. In the following 95, 98, debug and test a great deal of use.
- 2023-08-05 16:30:02下载
- 积分:1
-
二次插值算法程序的文档
The document to the quadratic interpolation algorithm program
- 2023-06-01 21:20:02下载
- 积分:1
-
Through the serial port to send and receive SMS
本程序主要实现通过rs232串口实现短信收发-Through the serial port to send and receive SMS
- 2022-03-05 08:12:10下载
- 积分:1