C/C++中函数参数传递详解 1 // test.cpp : Defines the entry point for the console application. 2 // 3 4 #include "stdafx.h" 5 #include 6 7 using namespace std; 8 9 //值传递template 10 void swap1(T p,T q)11 {12 c++ 2023-06-24 63 点赞 0 评论 95 浏览