91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 369.07 KB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2024-11-26
  • 語(yǔ)言: 其他
  • 標(biāo)簽:

資源簡(jiǎn)介

這是數(shù)據(jù)結(jié)構(gòu)的課程設(shè)計(jì),分別用鏈表和數(shù)組實(shí)現(xiàn)大數(shù)的加減乘除。

資源截圖

代碼片段和文件信息


#include“ArrayList1.h“
#include“BigInt.h“
#include“BigInt1.h“

bool?ListEmpty?(?ArrayList?L?);
void?InitList?(?ArrayList?&L);
int?GetLength?(ArrayList?L?);
bool?GetElem?(ArrayList?L?int?pos?ElemType?&e?);
bool?SettElem?(ArrayList?L?int?pos?ElemType?e?);
bool?InsertAt?(ArrayList?&L?int?pos?ElemType?e?);
bool?Add(ArrayList?&L?ElemType?e?);
bool?SignList(ArrayList?&L);
bool?SignBigInt(BigInt?intA);
void?clear(ArrayList?&L);
int?min(int?a1int?a2);//比較長(zhǎng)度大小的函數(shù)
BigInt?createBigInt(char?*c);//創(chuàng)建大樹
BigInt?initBigInt();
BigInt?reserve(BigInt?intA);
BigInt?add(BigInt?intABigInt?intB);////大數(shù)的加法
void?print(BigInt?C);
BigInt?sub(BigInt?intABigInt?intB);
BigInt?mul(BigInt?intA?BigInt?intB);
BigInt?div(BigInt?intABigInt?intB);?//大數(shù)除法
void?DispMenu()?;
void?add();///考慮符號(hào)它里面調(diào)用大數(shù)加法的函數(shù)
void?substract()?;????//調(diào)用大數(shù)減法
void?Signmuladapt()?;?//調(diào)用大數(shù)乘法
void?Signdivadapt()?;??//調(diào)用大數(shù)除法

int?main()
{
char?flag=1;
int?choose=0;
while(flag)
{
DispMenu();
printf(“請(qǐng)選擇以上的操作:“);
scanf(“%d“&choose);
getchar();
switch(choose)
{
case?1:add();break;
case?2:substract();break;
case?3:Signmuladapt();break;
case?4:Signdivadapt();break;
case?0:return?0;
default:printf(“輸入錯(cuò)誤!“);continue;
}
}

return?0;

}

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件???????1370??2008-01-17?21:40??大數(shù)數(shù)組實(shí)現(xiàn)\061300226.cpp

?????文件???????3437??2008-01-18?14:14??大數(shù)數(shù)組實(shí)現(xiàn)\061300226.dsp

?????文件????????526??2008-01-18?14:53??大數(shù)數(shù)組實(shí)現(xiàn)\061300226.dsw

?????文件??????58368??2008-01-18?14:53??大數(shù)數(shù)組實(shí)現(xiàn)\061300226.ncb

?????文件??????50688??2008-01-18?14:53??大數(shù)數(shù)組實(shí)現(xiàn)\061300226.opt

?????文件????????761??2008-01-18?14:14??大數(shù)數(shù)組實(shí)現(xiàn)\061300226.plg

?????文件???????2025??2008-01-18?09:24??大數(shù)數(shù)組實(shí)現(xiàn)\ArrayList1.h

?????文件???????7202??2008-01-17?21:40??大數(shù)數(shù)組實(shí)現(xiàn)\BigInt.h

?????文件???????4867??2008-01-17?21:40??大數(shù)數(shù)組實(shí)現(xiàn)\BigInt1.h

?????文件?????208948??2008-01-18?14:14??大數(shù)數(shù)組實(shí)現(xiàn)\Debug\061300226.exe

?????文件??????45199??2008-01-18?14:14??大數(shù)數(shù)組實(shí)現(xiàn)\Debug\061300226.obj

?????文件?????467968??2008-01-18?14:14??大數(shù)數(shù)組實(shí)現(xiàn)\Debug\061300226.pdb

?????文件??????53248??2008-01-18?14:14??大數(shù)數(shù)組實(shí)現(xiàn)\Debug\vc60.pdb

?????文件???????4350??2008-01-17?21:22??大數(shù)鏈表實(shí)現(xiàn)\1.dsp

?????文件????????527??2008-01-17?19:38??大數(shù)鏈表實(shí)現(xiàn)\1.dsw

?????文件??????33792??2008-01-17?21:22??大數(shù)鏈表實(shí)現(xiàn)\1.ncb

?????文件??????48640??2008-01-17?21:22??大數(shù)鏈表實(shí)現(xiàn)\1.opt

?????文件???????1391??2008-01-17?21:21??大數(shù)鏈表實(shí)現(xiàn)\1.plg

?????文件???????2935??2008-01-18?14:02??大數(shù)鏈表實(shí)現(xiàn)\a.cpp

?????文件???????3416??2008-01-18?14:05??大數(shù)鏈表實(shí)現(xiàn)\a.dsp

?????文件????????510??2008-01-18?14:05??大數(shù)鏈表實(shí)現(xiàn)\a.dsw

?????文件??????50176??2008-01-18?14:05??大數(shù)鏈表實(shí)現(xiàn)\a.ncb

?????文件??????48640??2008-01-18?14:05??大數(shù)鏈表實(shí)現(xiàn)\a.opt

?????文件????????721??2008-01-18?14:02??大數(shù)鏈表實(shí)現(xiàn)\a.plg

?????文件???????2427??2008-01-17?21:00??大數(shù)鏈表實(shí)現(xiàn)\ArrayList1.h

?????文件???????8132??2008-01-17?23:09??大數(shù)鏈表實(shí)現(xiàn)\BigInt.h

?????文件??????44891??2008-01-18?13:48??大數(shù)鏈表實(shí)現(xiàn)\Debug\061300226.obj

?????文件?????176210??2008-01-17?21:21??大數(shù)鏈表實(shí)現(xiàn)\Debug\1.exe

?????文件?????443392??2008-01-17?21:21??大數(shù)鏈表實(shí)現(xiàn)\Debug\1.pdb

?????文件?????196683??2008-01-18?14:02??大數(shù)鏈表實(shí)現(xiàn)\Debug\a.exe

............此處省略10個(gè)文件信息

評(píng)論

共有 條評(píng)論

相關(guān)資源