-
undo/redo操作实现
用栈数据结构非常简洁完美的管理了undo redo命令的实现。每条command结构体里面保存了当前操作的ID,操作前状态,操作后状态,执行命令的同时把该命令push入undo管理栈,undo的时候pop出undo命令栈并push入redo命令管理栈,redo的时候pop出redo栈并push到undo栈。算法清楚明了,可以在此基础上拓展自己的任何类似操作。 &nbs
- 2022-12-31 03:25:03下载
- 积分:1
-
controle mfasfgfm
asdafkkggk
adevia
controle mfasfgfm
asdafkkggk
adevia-controle mfasfgfm
asdafkkggk
adevia
- 2023-04-27 02:10:04下载
- 积分:1
-
根据经纬度计算子午线收敛角,便于进行收敛角改正
根据经纬度计算子午线收敛角,便于进行收敛角改正-calculated according to latitude and longitude meridian convergence angle, facilitate the convergence angle correction
- 2022-06-01 22:09:45下载
- 积分:1
-
getopt porting which can be used in win32
getopt porting which can be used in win32
- 2022-01-26 14:33:16下载
- 积分:1
-
简单的数据平台,能打开系统目录,能画图,是VC++编写的
简单的数据平台,能打开系统目录,能画图,是VC++编写的-Simple data platform, can open the system directory, can draw is VC++ Prepared
- 2022-02-12 16:45:47下载
- 积分:1
-
dock bar 很好的程序,风格独特,希望大家支持
dock bar 很好的程序,风格独特,希望大家支持-dock bar a very good program, unique style, hope you will support
- 2022-03-04 08:32:32下载
- 积分:1
-
用VC改变系统时间
用VC改变系统时间-VC change the system time
- 2022-01-25 17:56:10下载
- 积分:1
-
PPP协议的状态机实现例子
PPP协议的状态机实现例子-PPP agreement FSM example
- 2022-02-04 00:11:50下载
- 积分:1
-
头与头和头
Teste and Teste and Teste and Teste and Teste and Teste and Teste and Teste and Teste and Teste and Teste and Teste and Teste and Teste and Teste and Teste and Teste;
- 2023-08-10 23:55:03下载
- 积分:1
-
输入一个自然数N(2≤N≤9),要求输出如下的螺旋矩阵,即边长为N*N,元素取值为1至N*N,1在左上角,呈顺时针方向依次放置各元素。
N=3时,相应...
输入一个自然数N(2≤N≤9),要求输出如下的螺旋矩阵,即边长为N*N,元素取值为1至N*N,1在左上角,呈顺时针方向依次放置各元素。
N=3时,相应的矩阵中每个数字位置如下图所示:
1 2 3
8 9 4
7 6 5-Enter a natural number N (2 ≤ N ≤ 9), the requirements are as follows spiral output matrix, that is, edge length of N* N, the element values for the 1 to N* N, 1 in the upper left corner, showing a clockwise direction in order to place the various elements . N = 3, the corresponding figures for the location of each matrix as follows: 123,894,765
- 2023-07-10 21:40:03下载
- 积分:1