?? main.cpp
字號(hào):
#include "lista.h"
/* Gabriel Solano Salazar
gabriel.ss@costarricense.com*/
int main() {
int n = 0;
cout << "\nDigite el numero de enteros a ordenar/ Number of integers: ";
cin >> n;
CLista lista(n);
lista.Insertar();
cout << "\nLa lista sin ordenar / the list before heapsort: ";
lista.Imprimir_Array();
cout << "\n\nLa lista ordenada decrecientemente es / the list sort by heapsort ";
lista.HeapSort(); // Ordena la lista en orden decreciente.
lista.Imprimir_Array();
cout << "\n\n" << endl;
return 0;
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -