文件名称:lab6_1
- 所属分类:
- 系统编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-04-28
- 文件大小:
- 1.64mb
- 下载次数:
- 0次
- 提 供 者:
- 胡*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
编写并测试如下函数: void Add (int a[], int m, int b[], int n) 该函数将数组b的前n个元素追加到数组a的前m个元素后,假定数组a具有至少存放m+n个元素的空间。例如,如果数组a为{22,33,44,55,66,77,88,99},数组b为{20,30,40,50,60,70,80,90},则调用Add(a,5,b,3)后,将把数组a变为{22,33,44,55,66,20,30,40}。注意数组b并没有改变,而且数组a中只需改变n个元素。-Write and test the following function: void Add (int a [], int m, int b [], int n) function of the first n elements of the array b appended to the array a first m elements, it is assumed that the array a spatial least stored m+n elements. For example, if the array a {22,33,44,55,66,77,88,99} the array b {20,30,40,50,60,70,80,90}, call the Add (a , 5, b, 3), the array becomes a {22,33,44,55,66,20,30,40}. Note that the array b has not changed, simply by changing the n elements in the array a.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lab6_1\Debug\lab6_1.exe
......\.....\lab6_1.ilk
......\.....\lab6_1.pdb
......\lab6_1\Debug\CL.read.1.tlog
......\......\.....\CL.write.1.tlog
......\......\.....\lab6_1.lastbuildstate
......\......\.....\lab6_1.log
......\......\.....\lab6_1.obj
......\......\.....\link-cvtres.read.1.tlog
......\......\.....\link-cvtres.write.1.tlog
......\......\.....\link-rc.read.1.tlog
......\......\.....\link-rc.write.1.tlog
......\......\.....\link.read.1.tlog
......\......\.....\link.write.1.tlog
......\......\.....\vc110.idb
......\......\.....\vc110.pdb
......\......\lab6_1.cpp
......\......\lab6_1.rar
......\......\lab6_1.vcxproj
......\......\lab6_1.vcxproj.filters
......\lab6_1.opensdf
......\lab6_1.sdf
......\lab6_1.sln
......\lab6_1.v11.suo
......\......\Debug
......\Debug
......\lab6_1
lab6_1