文件名称:ch06
-
所属分类:
- 标签属性:
- 上传时间:2013-03-16
-
文件大小:34.93mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1. 编写并测试如下函数: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个元素。
编写一个使用指针返回类型的函数,使用该函数在字符串中搜索一个子串,并返回第一个相匹配的子串指针。-1. Prepare and test the following function: void Add (int a [], int m, int b [], int n) This function will be appended to the array a first n elements of the array b before m elements, it is assumed thatthe array a has a structure at least a space of the storage element of m+ n. For example, if the array a {22,33,44,55,66,77,88,99} array b {20,30,40,50,60,70,80,90}, then invoke the Add (a , 5, b, 3) after the array are a becomes {22,33,44,55,66,20,30,40}. Note that the array b does not change, simply by changing the n elements in the array a.
Write a pointer return type of the function, use the function to search for a substring in a string and returns the pointer of the first match of the substring.
编写一个使用指针返回类型的函数,使用该函数在字符串中搜索一个子串,并返回第一个相匹配的子串指针。-1. Prepare and test the following function: void Add (int a [], int m, int b [], int n) This function will be appended to the array a first n elements of the array b before m elements, it is assumed thatthe array a has a structure at least a space of the storage element of m+ n. For example, if the array a {22,33,44,55,66,77,88,99} array b {20,30,40,50,60,70,80,90}, then invoke the Add (a , 5, b, 3) after the array are a becomes {22,33,44,55,66,20,30,40}. Note that the array b does not change, simply by changing the n elements in the array a.
Write a pointer return type of the function, use the function to search for a substring in a string and returns the pointer of the first match of the substring.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ch06/ch06.rar
ch06/ch06_02/ch06_02/ch06_02.cpp
ch06/ch06_02/ch06_02/ch06_02.vcproj
ch06/ch06_02/ch06_02/ch06_02.vcproj.原暗-PC.原暗.user
ch06/ch06_02/ch06_02/ch06_02.vcxproj
ch06/ch06_02/ch06_02/ch06_02.vcxproj.filters
ch06/ch06_02/ch06_02/ch06_02.vcxproj.user
ch06/ch06_02/ch06_02/Debug/ch06_02.exe.embed.manifest
ch06/ch06_02/ch06_02/Debug/ch06_02.exe.embed.manifest.res
ch06/ch06_02/ch06_02/Debug/ch06_02.exe.intermediate.manifest
ch06/ch06_02/ch06_02/Debug/ch06_02.lastbuildstate
ch06/ch06_02/ch06_02/Debug/ch06_02.log
ch06/ch06_02/ch06_02/Debug/ch06_02.obj
ch06/ch06_02/ch06_02/Debug/ch06_02_manifest.rc
ch06/ch06_02/ch06_02/Debug/cl.command.1.tlog
ch06/ch06_02/ch06_02/Debug/CL.read.1.tlog
ch06/ch06_02/ch06_02/Debug/CL.write.1.tlog
ch06/ch06_02/ch06_02/Debug/link-cvtres.read.1.tlog
ch06/ch06_02/ch06_02/Debug/link-cvtres.write.1.tlog
ch06/ch06_02/ch06_02/Debug/link.8100-cvtres.read.1.tlog
ch06/ch06_02/ch06_02/Debug/link.8100-cvtres.write.1.tlog
ch06/ch06_02/ch06_02/Debug/link.8100.read.1.tlog
ch06/ch06_02/ch06_02/Debug/link.8100.write.1.tlog
ch06/ch06_02/ch06_02/Debug/link.command.1.tlog
ch06/ch06_02/ch06_02/Debug/link.read.1.tlog
ch06/ch06_02/ch06_02/Debug/link.write.1.tlog
ch06/ch06_02/ch06_02/Debug/mt.command.1.tlog
ch06/ch06_02/ch06_02/Debug/mt.read.1.tlog
ch06/ch06_02/ch06_02/Debug/mt.write.1.tlog
ch06/ch06_02/ch06_02/Debug/rc.command.1.tlog
ch06/ch06_02/ch06_02/Debug/rc.read.1.tlog
ch06/ch06_02/ch06_02/Debug/rc.write.1.tlog
ch06/ch06_02/ch06_02/Debug/vc100.idb
ch06/ch06_02/ch06_02/Debug/vc100.pdb
ch06/ch06_02/ch06_02.ncb
ch06/ch06_02/ch06_02.sdf
ch06/ch06_02/ch06_02.sln
ch06/ch06_02/ch06_02.sln.old
ch06/ch06_02/ch06_02.suo
ch06/ch06_02/ch06_02.suo.old
ch06/ch06_02/Debug/ch06_02.exe
ch06/ch06_02/Debug/ch06_02.ilk
ch06/ch06_02/Debug/ch06_02.pdb
ch06/ch06_02/ipch/ch06_02-540d476c/ch06_02-334e319e.ipch
ch06/ch06_02/UpgradeLog.XML
ch06/ch06_02/_UpgradeReport_Files/UpgradeReport.css
ch06/ch06_02/_UpgradeReport_Files/UpgradeReport.xslt
ch06/ch06_02/_UpgradeReport_Files/UpgradeReport_Minus.gif
ch06/ch06_02/_UpgradeReport_Files/UpgradeReport_Plus.gif
ch06/ch06_03/ch06_03/ch06_03.cpp
ch06/ch06_03/ch06_03/ch06_03.vcxproj
ch06/ch06_03/ch06_03/ch06_03.vcxproj.filters
ch06/ch06_03/ch06_03/ch06_03.vcxproj.user
ch06/ch06_03/ch06_03/Debug/ch06_03.exe.embed.manifest
ch06/ch06_03/ch06_03/Debug/ch06_03.exe.embed.manifest.res
ch06/ch06_03/ch06_03/Debug/ch06_03.exe.intermediate.manifest
ch06/ch06_03/ch06_03/Debug/ch06_03.lastbuildstate
ch06/ch06_03/ch06_03/Debug/ch06_03.log
ch06/ch06_03/ch06_03/Debug/ch06_03.obj
ch06/ch06_03/ch06_03/Debug/ch06_03_manifest.rc
ch06/ch06_03/ch06_03/Debug/cl.command.1.tlog
ch06/ch06_03/ch06_03/Debug/CL.read.1.tlog
ch06/ch06_03/ch06_03/Debug/CL.write.1.tlog
ch06/ch06_03/ch06_03/Debug/link-cvtres.read.1.tlog
ch06/ch06_03/ch06_03/Debug/link-cvtres.write.1.tlog
ch06/ch06_03/ch06_03/Debug/link.6100-cvtres.read.1.tlog
ch06/ch06_03/ch06_03/Debug/link.6100-cvtres.write.1.tlog
ch06/ch06_03/ch06_03/Debug/link.6100.read.1.tlog
ch06/ch06_03/ch06_03/Debug/link.6100.write.1.tlog
ch06/ch06_03/ch06_03/Debug/link.command.1.tlog
ch06/ch06_03/ch06_03/Debug/link.read.1.tlog
ch06/ch06_03/ch06_03/Debug/link.write.1.tlog
ch06/ch06_03/ch06_03/Debug/mt.command.1.tlog
ch06/ch06_03/ch06_03/Debug/mt.read.1.tlog
ch06/ch06_03/ch06_03/Debug/mt.write.1.tlog
ch06/ch06_03/ch06_03/Debug/rc.command.1.tlog
ch06/ch06_03/ch06_03/Debug/rc.read.1.tlog
ch06/ch06_03/ch06_03/Debug/rc.write.1.tlog
ch06/ch06_03/ch06_03/Debug/vc100.idb
ch06/ch06_03/ch06_03/Debug/vc100.pdb
ch06/ch06_03/ch06_03.sdf
ch06/ch06_03/ch06_03.sln
ch06/ch06_03/ch06_03.suo
ch06/ch06_03/Debug/ch06_03.exe
ch06/ch06_03/Debug/ch06_03.ilk
ch06/ch06_03/Debug/ch06_03.pdb
ch06/ch06_03/ipch/ch06_03-77bed6f/ch06_03-33604a1f.ipch
ch06/ch06_05/ch06_05/ch06_05.cpp
ch06/ch06_05/ch06_05/ch06_05.vcxproj
ch06/ch06_05/ch06_05/ch06_05.vcxproj.filters
ch06/ch06_05/ch06_05/ch06_05.vcxproj.user
ch06/ch06_05/ch06_05/Debug/ch06_05.exe.embed.manifest
ch06/ch06_05/ch06_05/Debug/ch06_05.exe.embed.manifest.res
ch06/ch06_05/ch06_05/Debug/ch06_05.exe.intermediate.manifest
ch06/ch06_05/ch06_05/Debug/ch06_05.lastbuildstate
ch06/ch06_05/ch06_05/Debug/ch06_05.log
ch06/ch06_05/ch06_05/Debug/ch06_05.obj
ch06/ch06_05/ch06_05/Debug/ch06_05_manifest.rc
ch06/ch06_05/ch06_05/Debug/cl.command.1.tlog
ch06/ch06_05/ch06_05/Debug/CL.read.1.tlog
ch06/ch06_05/ch06_05/Debug/CL.write.1.tlog
ch06/ch06_05/ch06_05/Debug/link-cvtres.read.1.tlog
ch06/ch06_05/ch06_05/Debug/link-cvtres.write.1.tlog
ch06/ch06_05/ch06_05/Debug/link.1904-cvtres.read.1.tlog
ch06/ch06_05/ch06_05/Debug/link.1904-cvtres.write.1.tlog
ch06/ch06_05/ch06_05/Debug/link.1904.read.1.tlog
ch06/ch06_05/ch06_05/Debug/link.1904.write.1.tlog
ch06/ch06_05/ch06_05/Debug/link.command.1.tlog
ch06/ch06_05/ch06_05/Debug/link.read.1.tlog
ch06/ch06_05/ch06_05/Debug/link.write.1.tlog
ch06/ch06_05/ch06_05/Debug/mt.command.1.tlog
ch06/ch06_05/ch06_05/Debug/mt.read.1.tlog
ch06/ch06_05/ch06_05/Debug/mt.write.1.tlog
ch06/ch06_05/ch06_05/Debug/rc.command.1.tlog
ch06/ch06_05/ch06_05/Debug/rc.read.1.tlog
ch06/ch06_05/ch06_05/Debug/rc.write.1.tlog
ch06/ch06_05/ch06_05/Debug/vc100.idb
ch06/ch06_05/ch06
ch06/ch06_02/ch06_02/ch06_02.cpp
ch06/ch06_02/ch06_02/ch06_02.vcproj
ch06/ch06_02/ch06_02/ch06_02.vcproj.原暗-PC.原暗.user
ch06/ch06_02/ch06_02/ch06_02.vcxproj
ch06/ch06_02/ch06_02/ch06_02.vcxproj.filters
ch06/ch06_02/ch06_02/ch06_02.vcxproj.user
ch06/ch06_02/ch06_02/Debug/ch06_02.exe.embed.manifest
ch06/ch06_02/ch06_02/Debug/ch06_02.exe.embed.manifest.res
ch06/ch06_02/ch06_02/Debug/ch06_02.exe.intermediate.manifest
ch06/ch06_02/ch06_02/Debug/ch06_02.lastbuildstate
ch06/ch06_02/ch06_02/Debug/ch06_02.log
ch06/ch06_02/ch06_02/Debug/ch06_02.obj
ch06/ch06_02/ch06_02/Debug/ch06_02_manifest.rc
ch06/ch06_02/ch06_02/Debug/cl.command.1.tlog
ch06/ch06_02/ch06_02/Debug/CL.read.1.tlog
ch06/ch06_02/ch06_02/Debug/CL.write.1.tlog
ch06/ch06_02/ch06_02/Debug/link-cvtres.read.1.tlog
ch06/ch06_02/ch06_02/Debug/link-cvtres.write.1.tlog
ch06/ch06_02/ch06_02/Debug/link.8100-cvtres.read.1.tlog
ch06/ch06_02/ch06_02/Debug/link.8100-cvtres.write.1.tlog
ch06/ch06_02/ch06_02/Debug/link.8100.read.1.tlog
ch06/ch06_02/ch06_02/Debug/link.8100.write.1.tlog
ch06/ch06_02/ch06_02/Debug/link.command.1.tlog
ch06/ch06_02/ch06_02/Debug/link.read.1.tlog
ch06/ch06_02/ch06_02/Debug/link.write.1.tlog
ch06/ch06_02/ch06_02/Debug/mt.command.1.tlog
ch06/ch06_02/ch06_02/Debug/mt.read.1.tlog
ch06/ch06_02/ch06_02/Debug/mt.write.1.tlog
ch06/ch06_02/ch06_02/Debug/rc.command.1.tlog
ch06/ch06_02/ch06_02/Debug/rc.read.1.tlog
ch06/ch06_02/ch06_02/Debug/rc.write.1.tlog
ch06/ch06_02/ch06_02/Debug/vc100.idb
ch06/ch06_02/ch06_02/Debug/vc100.pdb
ch06/ch06_02/ch06_02.ncb
ch06/ch06_02/ch06_02.sdf
ch06/ch06_02/ch06_02.sln
ch06/ch06_02/ch06_02.sln.old
ch06/ch06_02/ch06_02.suo
ch06/ch06_02/ch06_02.suo.old
ch06/ch06_02/Debug/ch06_02.exe
ch06/ch06_02/Debug/ch06_02.ilk
ch06/ch06_02/Debug/ch06_02.pdb
ch06/ch06_02/ipch/ch06_02-540d476c/ch06_02-334e319e.ipch
ch06/ch06_02/UpgradeLog.XML
ch06/ch06_02/_UpgradeReport_Files/UpgradeReport.css
ch06/ch06_02/_UpgradeReport_Files/UpgradeReport.xslt
ch06/ch06_02/_UpgradeReport_Files/UpgradeReport_Minus.gif
ch06/ch06_02/_UpgradeReport_Files/UpgradeReport_Plus.gif
ch06/ch06_03/ch06_03/ch06_03.cpp
ch06/ch06_03/ch06_03/ch06_03.vcxproj
ch06/ch06_03/ch06_03/ch06_03.vcxproj.filters
ch06/ch06_03/ch06_03/ch06_03.vcxproj.user
ch06/ch06_03/ch06_03/Debug/ch06_03.exe.embed.manifest
ch06/ch06_03/ch06_03/Debug/ch06_03.exe.embed.manifest.res
ch06/ch06_03/ch06_03/Debug/ch06_03.exe.intermediate.manifest
ch06/ch06_03/ch06_03/Debug/ch06_03.lastbuildstate
ch06/ch06_03/ch06_03/Debug/ch06_03.log
ch06/ch06_03/ch06_03/Debug/ch06_03.obj
ch06/ch06_03/ch06_03/Debug/ch06_03_manifest.rc
ch06/ch06_03/ch06_03/Debug/cl.command.1.tlog
ch06/ch06_03/ch06_03/Debug/CL.read.1.tlog
ch06/ch06_03/ch06_03/Debug/CL.write.1.tlog
ch06/ch06_03/ch06_03/Debug/link-cvtres.read.1.tlog
ch06/ch06_03/ch06_03/Debug/link-cvtres.write.1.tlog
ch06/ch06_03/ch06_03/Debug/link.6100-cvtres.read.1.tlog
ch06/ch06_03/ch06_03/Debug/link.6100-cvtres.write.1.tlog
ch06/ch06_03/ch06_03/Debug/link.6100.read.1.tlog
ch06/ch06_03/ch06_03/Debug/link.6100.write.1.tlog
ch06/ch06_03/ch06_03/Debug/link.command.1.tlog
ch06/ch06_03/ch06_03/Debug/link.read.1.tlog
ch06/ch06_03/ch06_03/Debug/link.write.1.tlog
ch06/ch06_03/ch06_03/Debug/mt.command.1.tlog
ch06/ch06_03/ch06_03/Debug/mt.read.1.tlog
ch06/ch06_03/ch06_03/Debug/mt.write.1.tlog
ch06/ch06_03/ch06_03/Debug/rc.command.1.tlog
ch06/ch06_03/ch06_03/Debug/rc.read.1.tlog
ch06/ch06_03/ch06_03/Debug/rc.write.1.tlog
ch06/ch06_03/ch06_03/Debug/vc100.idb
ch06/ch06_03/ch06_03/Debug/vc100.pdb
ch06/ch06_03/ch06_03.sdf
ch06/ch06_03/ch06_03.sln
ch06/ch06_03/ch06_03.suo
ch06/ch06_03/Debug/ch06_03.exe
ch06/ch06_03/Debug/ch06_03.ilk
ch06/ch06_03/Debug/ch06_03.pdb
ch06/ch06_03/ipch/ch06_03-77bed6f/ch06_03-33604a1f.ipch
ch06/ch06_05/ch06_05/ch06_05.cpp
ch06/ch06_05/ch06_05/ch06_05.vcxproj
ch06/ch06_05/ch06_05/ch06_05.vcxproj.filters
ch06/ch06_05/ch06_05/ch06_05.vcxproj.user
ch06/ch06_05/ch06_05/Debug/ch06_05.exe.embed.manifest
ch06/ch06_05/ch06_05/Debug/ch06_05.exe.embed.manifest.res
ch06/ch06_05/ch06_05/Debug/ch06_05.exe.intermediate.manifest
ch06/ch06_05/ch06_05/Debug/ch06_05.lastbuildstate
ch06/ch06_05/ch06_05/Debug/ch06_05.log
ch06/ch06_05/ch06_05/Debug/ch06_05.obj
ch06/ch06_05/ch06_05/Debug/ch06_05_manifest.rc
ch06/ch06_05/ch06_05/Debug/cl.command.1.tlog
ch06/ch06_05/ch06_05/Debug/CL.read.1.tlog
ch06/ch06_05/ch06_05/Debug/CL.write.1.tlog
ch06/ch06_05/ch06_05/Debug/link-cvtres.read.1.tlog
ch06/ch06_05/ch06_05/Debug/link-cvtres.write.1.tlog
ch06/ch06_05/ch06_05/Debug/link.1904-cvtres.read.1.tlog
ch06/ch06_05/ch06_05/Debug/link.1904-cvtres.write.1.tlog
ch06/ch06_05/ch06_05/Debug/link.1904.read.1.tlog
ch06/ch06_05/ch06_05/Debug/link.1904.write.1.tlog
ch06/ch06_05/ch06_05/Debug/link.command.1.tlog
ch06/ch06_05/ch06_05/Debug/link.read.1.tlog
ch06/ch06_05/ch06_05/Debug/link.write.1.tlog
ch06/ch06_05/ch06_05/Debug/mt.command.1.tlog
ch06/ch06_05/ch06_05/Debug/mt.read.1.tlog
ch06/ch06_05/ch06_05/Debug/mt.write.1.tlog
ch06/ch06_05/ch06_05/Debug/rc.command.1.tlog
ch06/ch06_05/ch06_05/Debug/rc.read.1.tlog
ch06/ch06_05/ch06_05/Debug/rc.write.1.tlog
ch06/ch06_05/ch06_05/Debug/vc100.idb
ch06/ch06_05/ch06
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.