【文件属性】:
文件名称:长整数加法代码C++
文件大小:5KB
文件格式:CPP
更新时间:2014-03-28 03:58:44
长整数加法
长整数加法,c++
//创建链表
l_store r_store(l_store h) //带头结点
{
int flag=0; //flag 用来标识整数的符号 0表示 '+' 1表示 '-'
h=(l_store)malloc(sizeof(lnode));
h->next=h->prior=NULL;
l_store q=NULL;
int count=0;
char ch;
fflush(stdin); //刷新输入缓冲区
while(ch!='\n')
{