实验目的 1. 熟练掌握线性表的各种操作;
2. 掌握栈的各种操作;
实验要求 1、线性表中一元多项式相加
2、栈—数制转换和求n!
实验仪器 PC机,C++软件
实验步骤 1.根据实验内容编程,上机调试、得出正确的运行程序。
2. 编译运行程序,观察运行情况和输出结果。
3. 写出实验报告(包括源程序和运行结果)。
实验内容 #include<iostream.h>
typedef struct term{
float coef;
int exp;
struct term *next;
}term, *polynom;
void PolyAdd(polynom &ah;, p
相关下载链接:
//download.csdn.net/download/yangbuzhi456/3965603?utm_source=bbsseo