(链表实现)写出两个一元多项式相加的算法

/*实验2 3. 试写出两个一元多项式相加的算法。 用链表来存储一元多项式,而且要在程序中验证其功能实现。 此题的源程序保存为2_e1.cpp */ #include<iostream> using namespace std; struct node { int co; //系数 int exp; //指数 struct node * next; }; node* Creat
相关文章
相关标签/搜索