This program will read integers from the keyboard, insert them into a max-heap, and display them as they are deleted from the heap. Most of the code is given: - Heap.h - Heap.cpp - main.cpp Your task is to finish defining four function in Heap.cpp: - insertHeap - deleteHeap - _reHeapUp - _reHeapDown
8 lines
135 B
CMake
8 lines
135 B
CMake
cmake_minimum_required(VERSION 3.28)
|
|
project(07_heaps)
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
add_executable(07_heaps main.cpp
|
|
Heap.cpp)
|