c++ primer Plus 第八章编程练习答案

8.1ios #include<stdafx.h> #include<iostream> #include<string> using namespace std; void print(string p, int i = 0);//默认参数是在函数声明时指定的,函数定义时不能有默认参数 int main() { string st = "c++"; cout << "Test one p
相关文章
相关标签/搜索