文件名称:sy9_2a
介绍说明--下载内容均来自于网络,请自行研究使用
利用动态分配内存方法,编写一个能计算N位整数相加的程序,如N≤100。
根据N的值动态分配3个内存空间,分别存放加数、被加数和相加的结果;它们以字符串的形式存放
-Use of dynamically allocated memory, write a calculation of the N-bit integer program, such as N ≤ 100. Dynamically allocated memory space according to the value of N, were stored addend summand and the sum of the results They are stored in the form of a string
根据N的值动态分配3个内存空间,分别存放加数、被加数和相加的结果;它们以字符串的形式存放
-Use of dynamically allocated memory, write a calculation of the N-bit integer program, such as N ≤ 100. Dynamically allocated memory space according to the value of N, were stored addend summand and the sum of the results They are stored in the form of a string
(系统自动生成,下载前可以参看下载内容)
下载文件列表
sy9_2a.cpp