본문내용
#include
using namespace std;
class Element
{
public:
int getKey() const {return key;};
int other() {return Other;};
void setKey(int k) { key = k;};
void setOther(int o) { Other = o;}
Element(){Other = 0;};
private:
int key;
int Other;
};
void adjust(Element *tree, const int root, const int n)
// Adjust the binary tree with root @root@ to satisfy the heap property. The left and right
// subtrees of @root@ already satisfy the heap property. No node has index greater than @n@.
{
using namespace std;
class Element
{
public:
int getKey() const {return key;};
int other() {return Other;};
void setKey(int k) { key = k;};
void setOther(int o) { Other = o;}
Element(){Other = 0;};
private:
int key;
int Other;
};
void adjust(Element *tree, const int root, const int n)
// Adjust the binary tree with root @root@ to satisfy the heap property. The left and right
// subtrees of @root@ already satisfy the heap property. No node has index greater than @n@.
{
추천자료
bmp Image 변환 프로그램 10가지 효과 적용가능
C언어 프로젝트 게임
CGI(공통게이트웨이인터페이스)의 개념과 특징, CGI(공통게이트웨이인터페이스)의 동작원리와...
xilinx를 이용한 8x1 MUX 설계(vhdl)
2009년 2학기 C프로그래밍 기말시험 핵심체크
프로그래밍 실습 8.3
2012년 1학기 C프로그래밍 기말시험 핵심체크
c언어 요약
개념을 콕콕 잡아주는 C프로그래밍 chap 2 연습문제 풀이 (천정아 저 2판)
미니카,안드로이드, mfc 연동, MFC -> Car
시스템프로그래밍 1차 텀 프로젝트(컴퓨터 공학/UNIX/fork/컴공/it/시프/시스템프로그래밍/ex...
소개글