- 博客(1)
- 收藏
- 关注
原创 简单的函数重载和模板
#include #include #include using namespace std; template Swap(Type &a,Type &b) { Type temp; temp = a; a = b; b = temp; } int main() { int x = 3; int y = 5; cout Swap(x,y)
2015-06-20 00:11:51 141
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人