diff --git a/practical_exercises/10_day_practice/day8/函数模板/例1.cpp b/practical_exercises/10_day_practice/day8/函数模板/例1.cpp index 28cb4b3..8d192bc 100644 --- a/practical_exercises/10_day_practice/day8/函数模板/例1.cpp +++ b/practical_exercises/10_day_practice/day8/函数模板/例1.cpp @@ -5,7 +5,7 @@ using namespace std; template //实现降序 -void sort(T &a, int n){ +void sort(T *a, int n){ for (int i=0;i