-
CResultSet 连接数据库并进行必要的数据操作!
CResultSet 连接数据库并进行必要的数据操作!-CResultSet Link AccessDatabase!
- 2022-03-26 07:47:22下载
- 积分:1
-
数据结构堆栈之后缀表达式求值
此程序用的是后缀表达式求值的方法,其中用到了一个栈,而中缀表达式求值需用到两个栈(操作数栈和操作符栈),所以阅读程序前提是了解中缀表达式和后缀表达式
之间的转换,和后缀表达式求值的过程。关于他们之间的转换,我的概括为:中缀表达式:a*(b+c)-d/f ,先做b+c,即bc+;再做a*(b+c),即abc+*;然后做d/f,即df/;
最后做a*(b+c)-d/f,得abc+*df/-。关于后缀表达式求值过程请参照你的《数据结构指导书》P60~62(下文所指参照页均在此书)。程序里中有些我说的可有可无的东西,我已经说明
程序里只给出了+ - * / 四种运算,其它运算符若需要,
可向程序里插入。你的指导书堆栈实验里提示用到了“运算符重载”,所以添加其他运算时,有可能用到重载,但这里的四则运算我没用到,运算符重载是很重要的
- 2022-11-10 19:15:04下载
- 积分:1
-
C++ 控制MYSQL数据库 源码
利用C++对MYSQL进行数据读,写,及修改. 需要有mysql.h 头文件
数据库结名为person, 表名为 mm, 表结构如下:
字段 类型
device_id int
sav_value int
sav_date datetime
- 2022-04-11 07:39:31下载
- 积分:1
-
二叉树与二叉链表
假设以如下说明的三元组 (F、C、L/R) 序列输入一棵二叉树的诸边(其中 F 表示双亲结点的标识,C 表示孩子结点标识,L/R 表示 C 为 F 的左孩子或右孩子),且在输入的三元组序列中,C 是按层次顺序出现的。设结点的标识是字符类型。F=‘^’时 C 为根结点标识,若 C 亦为‘^’,则表示输入结束。试编写算法,由输入的三元组序列建立二叉树的二叉链表,并以中序序列输出。^AL ABL ACR BDL CEL CFR DGR FHL ^^L -Assuming the following description of the triple (F, C, L/R) sequence of a binary tree of all the input side (where F that identifies the parent node, C, said child node ID, L/R that C is F, left or right child child), and triples in the input sequence, C is the emergence of a hierarchical order. Node identity is established character types. F = " ^" C for the root identity when, if C is also a " ^" , then enter the end. Test preparation algorithm, the input sequence of triples binary build the binary tree list, and in order to sequence the output
- 2022-09-25 12:40:03下载
- 积分:1
-
Earthquake magnitudo registered in San Francisco, during last 2 years plus white...
Earthquake magnitudo registered in San Francisco, during last 2 years plus white noise data
- 2022-01-25 19:03:55下载
- 积分:1
-
一元稀疏多项式计算器[加法和乘法] 问题描述: 设计一元系数多项式计数器实现两个多项式间的加法、减法。 基本要求: (1) 输入并建立多项式 (2) 输出多项式...
一元稀疏多项式计算器[加法和乘法] 问题描述: 设计一元系数多项式计数器实现两个多项式间的加法、减法。 基本要求: (1) 输入并建立多项式 (2) 输出多项式,输出形式为整数序列:n,c1,e1,c2,e2……cn,en,其中n是多项式的项数,ci,ei分别为第i项的系数和指数。序列按指数降序排列。 (3) 多项式a和b相加,建立多项式a+b,输出相加的多项式。 (4) 多项式a和b相减,建立多项式a-b,输出相减的多项式。 用带表头结点的单链表存储多项式。 测试数据: (1) (2x+5x8-3.1x11)+(7-5x8+11x9) (2) (6x-3-x+4.4x2-1.2x9)-(-6x-3+5.4x2+7.8x15) (3) (x+x2+x3)+0 (4) (x+x3)-(-x-x-3)-one yuan sparse polynomial calculator [Addition and multiplication] Problem description : Design one yuan polynomial coefficient counter achieve the two polynomials addition, subtraction. Basic requirements : (a) input and the establishment of polynomial (2) output polynomial, the output form of integer sequence : n, c1, e1, c2, e2 ... cn, en, where n is the polynomial Number, ci, ei for the first item i the coefficients and indexes. By sequencing index in descending order. (3) a and b polynomial addition, the establishment of a polynomial b, the combined output polynomial. (4) a and b polynomial subtraction, the establishment of a polyno
- 2022-10-15 00:45:03下载
- 积分:1
-
直接通过ADO操作Access数据库
直接通过ADO操作Access数据库-directly through ADO Access database operation
- 2022-05-24 04:27:52下载
- 积分:1
-
my own use VC numerical algorithm development process
我自己用VC++开发的数值算法程序――二次罚函数罚,对于处理带约束的问题效果很好-my own use VC numerical algorithm development process-- second penalty function fines, and dealing with the problem of constrained good results
- 2022-01-27 16:31:33下载
- 积分:1
-
Enterprise Management System
企业管理系统,包括工资人事等.基于VB 设计-Enterprise Management System
- 2022-06-01 10:58:56下载
- 积分:1
-
算法设计中的经典问题,符号三角形,n皇后,圆排列
算法设计中的经典问题,符号三角形,n皇后,圆排列-algorithm design of the classic, triangular symbols, n empress, with a round
- 2022-08-06 12:27:27下载
- 积分:1