摘要: ```C++ //交换整型函数 void swapInt(int& a, int& b) { int temp = a; a = b; b = temp; } //交换浮点型函数 void swapDouble(double& a, double& b) { double temp = a; a = 阅读全文
posted @ 2021-09-24 11:16 健丽 阅读(28) 评论(0) 推荐(0) 编辑