-
二维数组的操作运算,求出二维数组的非对角线元素之和
二维数组的操作运算,求出二维数组的非对角线元素之和-The operation of two-dimensional array of computing, to derive two-dimensional array of non-diagonal elements and
- 2022-03-13 14:32:41下载
- 积分:1
-
JPEG2000, C代码
The OpenJPEG library is an open-source JPEG 2000 library developed in order to promote the use of JPEG 2000.
See the source for more information.
- 2023-04-20 21:00:04下载
- 积分:1
-
动态规划分析例子,实用ACM教程:矩阵连乘,LCR,基因函数等
动态规划分析例子,实用ACM教程:矩阵连乘,LCR,基因函数等-Examples of dynamic programming analysis, practical tutorials ACM: even by matrix, LCR, such as gene function
- 2022-10-02 12:10:04下载
- 积分:1
-
taxable procedures. Income can be calculated weekly, recently income from the be...
计税程序。可以计算每周收入、最近收入、从年初到目前的所得税、扣除的联邦收入税以及帐目检查等。
This program computes weekly payroll, current earnings, year to date earnings FICA tax, federal Income Tax Withheld, and check Amount.-taxable procedures. Income can be calculated weekly, recently income from the beginning of the current income tax, the deduction of federal income taxes as well as accounts of inspection. This program computes weekly payroll, current earnings, year to date earnings FICA tax, federal Income Tax Withheld, and check Amount.
- 2022-08-20 10:08:10下载
- 积分:1
-
numerical algorithm source code
数值处理算法源代码-numerical algorithm source code
- 2022-09-21 13:50:03下载
- 积分:1
-
汇编数摸动态转换
汇编数摸动态转换-Compilation of a few touch dynamic conversion
- 2023-04-06 08:30:03下载
- 积分:1
-
为规范和解决poj 1699
poj 1699的代码和方法说明,个人原创
-the codes and solution for poj 1699
- 2022-06-15 09:10:35下载
- 积分:1
-
生成均匀随机数列算法实现和生成高斯随即序列的两种算法实现...
生成均匀随机数列算法实现和生成高斯随即序列的两种算法实现-uniform random number generation algorithm out and then generate Gaussian sequences of the two Algorithm
- 2022-05-06 11:54:11下载
- 积分:1
-
two forks of trees were preorder
二叉排序树的中序遍历-two forks of trees were preorder
- 2023-01-22 11:40:04下载
- 积分:1
-
2维数组 截断 追加 测试
应用背景
二维数组的截断和追加并不像TStringList那么简单。在研究二维数组的截断和追加时,写了本例子来研究。提供给有相同问题的后来人参考,代码有点青涩,毕竟是研究算法的的demo,不喜勿喷!
关键技术
二维数组的截断和追加是一个抽象的概念,本demo把它实例化,可以给爱偷懒的程序学习者参考,不足之处欢迎拍砖。{删除动态数组指定元素的过程: 参数 arr 是数组名, 参数 Index 是要删除的索引}
procedure TForm1.DeleteArrItem(Index:Integer);
var
j:integer;
begin
if Length(MyProArr)>1 then
begin
for j := Index to Length(MyProArr)-2 do begin
MyProArr[j,0]:=MyProArr[j+1,0];
MyProArr[j,1]:=MyProArr[j+1,1];
end;
setlength(MyProArr,Length(MyProArr)-1,2);
end else
begin
setlength(MyProArr,0,2);
end;
- 2022-11-15 14:10:02下载
- 积分:1