Notice
Recent Posts
Recent Comments
Link
목록LAB (2)
완숙의 블로그
[C++] Lab #12
#1 // // main.cpp // Lab #12 // // Created by 최완식 on 04/06/2019. // Copyright © 2019 최완식. All rights reserved. // #include #include using namespace std; int main(){ vector list{10, 20, 30, 40, 50}; int num; while(1){ cout > num; for(int i = 0; i < num; i++){ try{ cout
Programing Language/C++
2019. 6. 16. 19:51
[C++] Lab #11
#1 // // main.cpp // Lab #11 // // Created by 최완식 on 28/05/2019. // Copyright © 2019 최완식. All rights reserved. // #include #include using namespace std; template void sort(vector& list){ int count = 0; while(count != 4){ for(int i = 0; i list[i+1]){ temp = list[i+1]; list[i+1] = list[i]; list[i] = temp; }else{ count++; } } } } template void print(const vector& lis..
Programing Language/C++
2019. 6. 16. 19:48