bitweb.co.kr 선택정렬과 이진탐색 > bitweb6 | bitweb.co.kr report

선택정렬과 이진탐색 > bitweb6

본문 바로가기

뒤로가기 bitweb6

선택정렬과 이진탐색

페이지 정보

작성일 22-12-13 12:59

본문




Download : 선택정렬과 이진탐색.hwp







선택정렬과%20이진탐색_hwp_01.gif 선택정렬과%20이진탐색_hwp_02.gif 선택정렬과%20이진탐색_hwp_03.gif 선택정렬과%20이진탐색_hwp_04.gif 선택정렬과%20이진탐색_hwp_05.gif 선택정렬과%20이진탐색_hwp_06.gif
순서




,기타,레포트
자료(data)구조론1선택정렬과이진탐색


설명

데이터를 받아 정렬하고 정렬한 데이터를 통해 주어진 값을 탐색하는 C++프로그램을 짜보았습니다.자료구조론1선택정렬과이진탐색 , 선택정렬과 이진탐색기타레포트 ,

데이터를 받아 정렬하고 정렬한 데이터를 통해 주어진 값을 탐색하는 C++program을 짜보았습니다.
레포트/기타
<헤더파일 Sort_SearchTem.h>
====================================헤더파일 처음 =====================================
#ifndef Sort_SearchTem_INCLUDED
#define Sort_SearchTem_INCLUDED
#include



template
class DataManagement {
private :
DataType *data; // 배열에 쓰일 포인터
int total; // 총입력받을 data(資料)공간(배열)의 크기
int top; // 배열에서 원소가 들어 있는 가장 높은 위치
protected :
public :
DataManagement(); // 생성자
~DataManagement(); // 소멸자
void initArray();
void inputData(); // data(資料) 입력함수
void view(); // data(資料) 출력함수
void select_sort(); // 선택정렬함수
char compare(DataType,DataType); // 이진탐색시 중앙값과 찾으려는값 비교
void search(); // 이진탐색으로 얻어진 결과출력함수
int binary_search(DataType*,DataType,const int,const int); // 이진탐색함수
bool isFull(); // 배열이 꽉찼는지 확인하는 함수
bool isExist(DataType);
};
#endif
====================================헤더파일 끝===========================================


<소스파일 Sort_SearchTem.cpp>
====================================소스파일 처음 ========================…(생략(省略))




Download : 선택정렬과 이진탐색.hwp( 93 )





선택정렬과 이진탐색
다.
전체 12,714건 1 페이지
해당자료의 저작권은 각 업로더에게 있습니다.

evga.co.kr 은 통신판매중개자이며 통신판매의 당사자가 아닙니다.
따라서 상품·거래정보 및 거래에 대하여 책임을 지지 않습니다.
Copyright © bitweb.co.kr. All rights reserved.
PC 버전으로 보기