void swap(int& a, int& b)
{ int t = a; a = b; b = t;}
void bubble_sort(int* a, const int N)
{
for(int j=0; j<N-1; j++){
for(int i=0; i<N-1; i++){
if(a[i]>a[i+1]) swap(a[i],a[i+1]);
}
}
}
void show(int* a, const int N)
{
for(int i=0; i<N; i++) cout << a[i] << " ";
cout << endl;
}
老师可以解释注释一下 这一段吗