버블정렬 썸네일형 리스트형 [0] |C++| 숫자정렬 프로그램 .cpp 파일 (2/2) #include "Csort.h" void cSort::_init() { Sort.Count = 0; Sort.UpDown = 0; cout > Sort.Count; Sort.Num = (int *)malloc(sizeof(int)*Sort.Count); int i = 0; while(i Sort.UpDown; switch(Sort.UpDown) { case 1: for(int x = 0; x < Sort.Count - 1 ; x++) for(int y = x + 1 ; y < So.. 더보기 이전 1 다음