Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "pch.h"
- #include <iostream>
- using namespace std;
- #define size 5
- #include "Header.h"
- int main()
- {
- char array[size] = { 'a','f','c','g','e' };
- cout << "排序前:";
- for (int i = 0; i < size; i++)
- {
- cout << array[i];
- }
- sorting(array, size);
- cout << "排序後:";
- for (int i = 0; i < size; i++)
- {
- cout << array[i];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement