1 #include <iostream> void show(const char *str, int n = 1); int main() { show("hello world!"); show("你好…
分类:C++ Primer Plus 编程练习
C++ Primer Plus [第六版]第7章编程练习题答案
1 #include <iostream> double num(double x, double y); int main() { using namespace std; double n, m; cou…
C++ Primer Plus [第六版]第6章编程练习题答案
1 #include <iostream> #include <cctype> int main() { using namespace std; char ch; while ((ch = ci…
C++ Primer Plus [第六版]第3章编程练习题答案
1 #include <iostream> int main() { using namespace std; const int ft_height = 12; int height; cout <&…
C++ Primer Plus [第六版]第2章编程练习题答案
1 #include <iostream> int main() { using namespace std; cout << "姓名: Mr.Lei" << endl; cout &…