摘要:
参数不一致实现printf 1 #include <iostream> 2 #include <cstdarg> 3 using namespace std; 4 5 //递归终止 6 void show(const char *str) 7 { 8 } 9 10 template<typename 阅读全文
摘要:
namespace用法示例 1 #include <iostream> 2 using namespace std; 3 4 //定义域名空间 5 namespace myspace 6 { 7 int num = 45; 8 void show() 9 { 10 cout << num << en 阅读全文