文件名称:test-five
介绍说明--下载内容均来自于网络,请自行研究使用
合肥工业大学 C++程序设计 实验报告五 习题及对应完整代码
〈1〉输入三个整数,按由小到大的顺序输出,然后将程序改为:输入三个字符串,按由小到大的顺序输出。
〈2〉自己写一个strcmp函数,实现两个字符串的比较。两个字符串s1,s2由main函数输入,strcmp函数的返回值也在main函数中输出。-C++ programming lab reports, Hefei University of five exercises and the corresponding complete code
<1> Enter three integers, by order of increasing output, then the program read: three string input, according to order of increasing output.
<2> write a strcmp function compares two strings to achieve. Two strings s1, s2 by the main function of the input, strcmp function s return value is also the main function of the output.
〈1〉输入三个整数,按由小到大的顺序输出,然后将程序改为:输入三个字符串,按由小到大的顺序输出。
〈2〉自己写一个strcmp函数,实现两个字符串的比较。两个字符串s1,s2由main函数输入,strcmp函数的返回值也在main函数中输出。-C++ programming lab reports, Hefei University of five exercises and the corresponding complete code
<1> Enter three integers, by order of increasing output, then the program read: three string input, according to order of increasing output.
<2> write a strcmp function compares two strings to achieve. Two strings s1, s2 by the main function of the input, strcmp function s return value is also the main function of the output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
test five.doc