期刊文献+

一种C++中大数乘法程序

A C++large number multiplication program
下载PDF
导出
摘要 程序模拟了两数相乘的人工竖式算法,利用C++标准模板库中string类接收键盘输入的大数,并用标准模板库vector类存储大数和相乘,解决了基本数据类型表示大数位数有限的问题。 The program simulates the artificial vertical calculation method of multiplication of two numbers,using the string class of C++standard template library to receive the large number of keyboard input.The vector class of standard template library is used to store large numbers and multiply them,which solves the digits limiting problem for the basic data type to represent the large number.
作者 孔柱新 Kong Zhuxin(Dean's office,Changzhou Vocational Institute of Mechatronic Technology,Changzhou,Jiangsu 213164,China)
出处 《计算机时代》 2022年第3期81-82,85,共3页 Computer Era
关键词 C++ 大数 STRING VECTOR C++ large number string vector
  • 相关文献

参考文献1

二级参考文献1

  • 1张海藩,牟永敏.面向对象程序设计(第二版)[M].北京:清华大学出版社,2007:59.

共引文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部