exam1

所属分类:数据结构
开发工具:Visual C++
文件大小:25KB
下载次数:3
上传日期:2011-08-11 17:09:27
上 传 者chudongxie
说明:  请编写函数fun,,函数的功能是:将放在字符串数组中的M个字符串(每串的长度不超过N),按顺序合并组成一个新的字符串。函数fun中给出的语句仅供参考。 例如,字符串数组中的M个字符串为 AAAA BBBBBBB CC 则合并后的字符串的内容应是:AAAABBBBBBCC。 提示:strcat(a,b)的功能是将字符b复制到字符串a的串尾上,成为一个新串。 注意:部分源文件存在文件PROG1.C中。数据文件IN.DAT中的数据不得修改。 请勿改动主函数main和其它函数中的任何内容,仅在函数fun的花括号中填入你编写的若干语句。
(Please write the function fun,, function is the function: string array will be placed in the M-string (the length of each string of not more than N), merged in order to form a new string. Function fun statement given for reference only. For example, the string array of M string AAAA BBBBBBB CC is the combined contents of the string should be: AAAABBBBBBCC. Tip: strcat (a, b) function is a character string b string copied to the tail, a new string. Note: some of the source file exists in the file PROG1.C. The data in the data file IN.DAT not modify. Do not change main function and other functions in any content, only the braces in the function fun fill a number of statements you write.)

文件列表:
39.rar (3321, 2011-08-11)
40.rar (4076, 2011-08-11)
41.rar (4110, 2011-08-11)
42.rar (3625, 2011-08-11)
43.rar (3700, 2011-08-11)
44.rar (4120, 2011-08-11)
38.rar (4355, 2011-08-11)

近期下载者

相关文件


收藏者