From 0d4bca5d6c52eca43e3d85b8514dee3a6b61ea5c Mon Sep 17 00:00:00 2001 From: msulthon Date: Sat, 22 Feb 2020 07:13:57 +0700 Subject: [PATCH 1/2] Muhammad Sulthon Asramanggala || 1301194008 || IF-43-05 sudah --- list.cpp | 91 ++++++++++++++++++++++++++++++++++++++++++++------- list.h | 11 ++++--- my_data.cpp | 37 ++++++++++++++++++--- my_data.h | 12 ++++--- operation.cpp | 68 +++++++++++++++++++++++++++++++++++--- 5 files changed, 189 insertions(+), 30 deletions(-) diff --git a/list.cpp b/list.cpp index fe0655c..fdcd63d 100644 --- a/list.cpp +++ b/list.cpp @@ -7,7 +7,7 @@ void createList(List &L) { */ //-------------your code here------------- your code here - + first(L) = NULL; //---------------------------------------- } @@ -20,7 +20,9 @@ address allocate(infotype x) { address P; //-------------your code here------------- your code here - + P = new elmlist; + info(P) = x; + next(P) = NULL; //---------------------------------------- return P; @@ -32,11 +34,12 @@ void deallocate(address &P) { */ //-------------your code here------------- your code here - + delete P; //---------------------------------------- } + void insertFirst(List &L, address P) { /** * IS : List L may be empty @@ -44,7 +47,13 @@ void insertFirst(List &L, address P) { */ //-------------your code here------------- your code here - + if(first(L) != NULL){ + next(P) = first(L); + first(L) = P; + } + else{ + first(L) = P; + } //---------------------------------------- } @@ -56,7 +65,16 @@ void insertLast(List &L, address P) { */ //-------------your code here------------- your code here - + if(first(L) != NULL){ + address Q = first(L); + while(next(Q) != NULL){ + Q = next(Q); + } + next(Q) = P; + } + else{ + insertFirst(L, P); + } //---------------------------------------- } @@ -67,11 +85,22 @@ address findElm(List L, infotype x) { * FS : returns element with info.ID = x.ID, return Null if such ID is not found */ - + int ID; address P; //-------------your code here------------- your code here - + P = first(L); + while (P != NULL){ + if(info(P).ID != x.ID){ + P = next(P); + } + else if(info(P).ID == x.ID){ + return P; + } + else{ + return NULL; + } + } //---------------------------------------- return P; @@ -84,7 +113,14 @@ void deleteFirst(List &L, address &P) { */ //-------------your code here------------- your code here - + if(first(L) != NULL){ + P = first(L); + first(L) = next(P); + next(P) = NULL; + } + else{ + first(L) = NULL; + } //---------------------------------------- @@ -97,7 +133,16 @@ void deleteLast(List &L, address &P) { */ //-------------your code here------------- your code here - + P = first(L); + if(first(L) != NULL){ + while(next(next(P)) != NULL){ + P = next(P); + } + next(P) = NULL; + } + else{ + first(L) = NULL; + } //---------------------------------------- @@ -110,7 +155,19 @@ void printInfo(List L) { */ //-------------your code here------------- your code here - + address P; + if(first(L) != NULL){ + P = first(L); + while(P != NULL){ + cout<< "------------------------"< * -* Type List : < -* first : address -* last : address +* Type List : < +* first : address +* last : address * > * **/ @@ -37,13 +37,14 @@ typedef struct elmlist *address; struct elmlist{ //------------- your code here ----------- - + infotype info; + address next; //---------------------------------------- }; struct List{ //------------- your code here ----------- - + address first; //---------------------------------------- }; diff --git a/my_data.cpp b/my_data.cpp index 68b9d77..e240d94 100644 --- a/my_data.cpp +++ b/my_data.cpp @@ -1,10 +1,10 @@ - + #include "my_data.h" /** - CLASS : - NAME : - STUDENT ID : + CLASS : IF-43-o5 + NAME : Muhammad Sulthon Asramanggala + STUDENT ID : 130194008 **/ mytype create_data() { @@ -16,6 +16,14 @@ mytype create_data() { // =========================== // YOUR CODE HERE your code here + cout<< "ID mahasiswa : "; + cin<< d.ID; + cout<< "Nama Mahasiswa : "; + cin<< d.name; + cout << "Rangking Mahasiswa : "; + cin >> d.ranking; + cout << "Score Mahasiswa : "; + cin >> d.score; @@ -33,6 +41,13 @@ void view_data(mytype d) { // =========================== // YOUR CODE HERE your code here + cout << " ID : " << d.ID<> d.name; + cout << "Ranking Baru : "; + cin >> d.ranking; + cout << "Score Baru : "; + cin >> d.score; diff --git a/my_data.h b/my_data.h index 2937b48..99a69a7 100644 --- a/my_data.h +++ b/my_data.h @@ -5,9 +5,9 @@ using namespace std; /** - CLASS : - NAME : - STUDENT ID : + CLASS : IF-43-05 + NAME : Muhammad Sulthon Asramanggala + STUDENT ID : 1301194008 **/ struct mytype { @@ -21,6 +21,10 @@ struct mytype { //================================================= // YOUR CODE STARTS HERE your code here + int ID; + string name; + int rangking; + float score; // YOUR CODE ENDS HERE //================================================= @@ -29,6 +33,6 @@ struct mytype { mytype create_data(); void view_data(mytype d); -void edit_data(mytype &d); +void edit_data(mytype &d); #endif // MY_DATA_H_INCLUDED diff --git a/operation.cpp b/operation.cpp index c2dc0b0..6a0f9ad 100644 --- a/operation.cpp +++ b/operation.cpp @@ -1,7 +1,7 @@ #include "list.h" #include "operation.h" #include "my_data.h" - + void insertAndSort(List &L, infotype x) { /** @@ -15,7 +15,37 @@ void insertAndSort(List &L, infotype x) { //-------------your code here------------- your code here - + address P; + address Q; + P = allocate(x); + if(first(L) == NULL){ + insertFirst(L, P); + } + else{ + Q = findElm(L, info(P)); + if(Q == NULL){ + address last = first(L); + while(next(last) != NULL){ + last = next(last); + } + if(info(P).ID <= info(first(L)).ID){ + insertFirst(L, P); + } + else if(info(P).ID >= info(first(L)).ID){ + insertLast(L, P); + } + else{ + Q = first(L); + while(info(next(Q)).ID < info(P).ID){ + Q = next(Q); + } + insertAfter(L, Q, P); + } + } + else{ + cout << "ID duplikat" << endl; + } + } //---------------------------------------- } @@ -30,7 +60,27 @@ void deletebyID(List &L, int id_x) { address Prec, P; //-------------your code here------------- your code here + infotype x; + x.ID = id_x; + P = findElm(L, x); + if(first(L) != NULL){ + if(P == first(L)){ + deleteFirst(L, P); + deallocate(P); + } + else if(next(P) == NULL){ + deleteLast(L,P); + deallocate(P); + } + else{ + Prec = first(L); + while(next(Prec) != P){ + Prec = next(Prec); + } + deleteAfter(L, Prec, P); + } + } //---------------------------------------- } @@ -44,7 +94,17 @@ void savePassedMember(List &L, List &L2){ address P; //-------------your code here------------- your code here - - + List tmp; + createList(tmp); + while(first(L) != NULL){ + deleteFirst(L,P); + if(info(P).score > 80){ + insertAndSort(L2, info(P)); + } + else{ + insertAndSort(tmp, info(P)); + } + } + L = tmp; //---------------------------------------- } From 95296ba3a104b4a24b4347cbab60ed851a9a3d22 Mon Sep 17 00:00:00 2001 From: msulthon Date: Sat, 22 Feb 2020 21:39:16 +0700 Subject: [PATCH 2/2] nambahin --- ASD_Task_3.depend | 19 ++++++++++ ASD_Task_3.layout | 26 ++++++------- list.cpp | 22 +++++------ main.cpp | 85 ++++++++++++++++++++++++++++++++++++------ my_data.cpp | 2 +- my_data.h | 2 +- obj/Debug/list.o | Bin 0 -> 45349 bytes obj/Debug/operation.o | Bin 0 -> 42959 bytes operation.cpp | 6 +-- 9 files changed, 121 insertions(+), 41 deletions(-) create mode 100644 obj/Debug/list.o create mode 100644 obj/Debug/operation.o diff --git a/ASD_Task_3.depend b/ASD_Task_3.depend index 831bfcc..0e4420a 100644 --- a/ASD_Task_3.depend +++ b/ASD_Task_3.depend @@ -52,3 +52,22 @@ "operation.h" "my_data.h" +1582381821 source:d:\github\latihan\asd_task_3\list.cpp + "list.h" + "my_data.h" + +1582330300 d:\github\latihan\asd_task_3\list.h + + "my_data.h" + +1582381690 d:\github\latihan\asd_task_3\my_data.h + + +1582381876 source:d:\github\latihan\asd_task_3\operation.cpp + "list.h" + "operation.h" + "my_data.h" + +1582327055 d:\github\latihan\asd_task_3\operation.h + "list.h" + diff --git a/ASD_Task_3.layout b/ASD_Task_3.layout index 17b1801..ea8cfdb 100644 --- a/ASD_Task_3.layout +++ b/ASD_Task_3.layout @@ -2,37 +2,37 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/list.cpp b/list.cpp index fdcd63d..68ea3a7 100644 --- a/list.cpp +++ b/list.cpp @@ -6,7 +6,7 @@ void createList(List &L) { * FS : set first(L) and last(L) with Null */ //-------------your code here------------- - your code here + first(L) = NULL; //---------------------------------------- @@ -19,7 +19,7 @@ address allocate(infotype x) { address P; //-------------your code here------------- - your code here + P = new elmlist; info(P) = x; next(P) = NULL; @@ -33,7 +33,7 @@ void deallocate(address &P) { * FS : delete element pointed by P */ //-------------your code here------------- - your code here + delete P; //---------------------------------------- @@ -46,7 +46,7 @@ void insertFirst(List &L, address P) { * FS : element pointed by P became the first element in List L */ //-------------your code here------------- - your code here + if(first(L) != NULL){ next(P) = first(L); first(L) = P; @@ -64,7 +64,7 @@ void insertLast(List &L, address P) { * FS : element pointed by P became the last element in List L */ //-------------your code here------------- - your code here + if(first(L) != NULL){ address Q = first(L); while(next(Q) != NULL){ @@ -88,7 +88,7 @@ address findElm(List L, infotype x) { int ID; address P; //-------------your code here------------- - your code here + P = first(L); while (P != NULL){ if(info(P).ID != x.ID){ @@ -112,7 +112,7 @@ void deleteFirst(List &L, address &P) { * FS : first element in List L is removed and is pointed by P */ //-------------your code here------------- - your code here + if(first(L) != NULL){ P = first(L); first(L) = next(P); @@ -132,7 +132,7 @@ void deleteLast(List &L, address &P) { * FS : last element in List L is removed and is pointed by P */ //-------------your code here------------- - your code here + P = first(L); if(first(L) != NULL){ while(next(next(P)) != NULL){ @@ -154,7 +154,7 @@ void printInfo(List L) { * call the view_data function from my_data.h to print the info */ //-------------your code here------------- - your code here + address P; if(first(L) != NULL){ P = first(L); @@ -180,7 +180,7 @@ void insertAfter(List &L, address Prec, address P) { * pointed by pointer Prec */ //-------------your code here------------- - your code here + if(first(L) == NULL){ insertFirst(L, P); } @@ -199,7 +199,7 @@ void deleteAfter(List &L, address Prec, address &P) { * is removed and pointed by pointer P */ //-------------your code here------------- - your code here + P = next(Prec); next(Prec) = next(P); next(P) = NULL; diff --git a/main.cpp b/main.cpp index 9e0b483..0e8b3dd 100644 --- a/main.cpp +++ b/main.cpp @@ -9,7 +9,8 @@ using namespace std; void mainMenu(); List L, L_passed; -int main() { +int main() +{ createList(L); createList(L_passed); @@ -18,7 +19,8 @@ int main() { return 0; } -void mainMenu() { +void mainMenu() +{ address P; infotype X; /** @@ -35,7 +37,8 @@ void mainMenu() { */ //-------------your code here------------- int choice; - do { + do + { cout<<"Menu"<>choice; - switch(choice) { - case 1: - X = create_data(); - P = allocate(X); - insertFirst(L,P) - break; - } - } while(true); + P = allocate(X); + insertFirst(L,P) + break; - //---------------------------------------- + case 1 : + X = create_data(); + P = allocate(X); + insertFirst(L,P) + if (findElm(L, info(P)) == NULL) + { + insertFirst(L, P); + } + break; + case 2: + printInfo(L); + break; + case 3: + cout << "Masukkan ID yang ingin dicari : "; + cin >> X.ID; + P = findElm(L, X); + if (P != NULL) + { + view_data(info(P)); + } + else + { + cout << "DATA TIDAK DITEMUKAN!\n"; + } + break; + case 4: + cout << "Masukkan ID yang ingin diedit : "; + cin >> X.ID; + P = findElm(L, X); + if (P != NULL) + { + edit_data(info(P)); + } + else + { + cout << "DATA TIDAK DITEMUKAN!\n"; + } + break; + case 5: + cout << "Masukkan ID yang ingin didelete : "; + cin >> X.ID; + if (findElm(L, X) != NULL) + { + deletebyID(L, X.ID); + } + else + { + cout << "DATA TIDAK DITEMUKAN" << endl; + } + break; + case 6: + savePassedMember(L, L_passed); + break; + case 7: + printInfo(L_passed); + break; + } + if (choice == 0) + { + break; + } +} +} while(true); +//---------------------------------------- } diff --git a/my_data.cpp b/my_data.cpp index e240d94..6160839 100644 --- a/my_data.cpp +++ b/my_data.cpp @@ -15,7 +15,7 @@ mytype create_data() { mytype d; // =========================== // YOUR CODE HERE - your code here + cout<< "ID mahasiswa : "; cin<< d.ID; cout<< "Nama Mahasiswa : "; diff --git a/my_data.h b/my_data.h index 99a69a7..975624d 100644 --- a/my_data.h +++ b/my_data.h @@ -20,7 +20,7 @@ struct mytype { */ //================================================= // YOUR CODE STARTS HERE - your code here + int ID; string name; int rangking; diff --git a/obj/Debug/list.o b/obj/Debug/list.o new file mode 100644 index 0000000000000000000000000000000000000000..25c266999e81a489fe2e82f6778483f2dc3ad9fc GIT binary patch literal 45349 zcmeHwd3;pW+5fqdA(;>u0)#DW5dyMiBanqHECU8GAOYDOCo_{|!Xy)CCIoD?TC|Gj zE4Wl^QE6*iwQAk9ZdI{Tw2N)6w)(cOw)WMEeXH-Qefw5he&6Rg%e^xR3Iq7pFQ43d zpZlEWJllEBa?d^I&I+qg(BCKD6yh9)+*V04ygkXVJax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g z2WFay7^1=QwT|vKHWVj?2}M_7ki&nP&(@S&lyp%K%ny5D{@w#qX#z-dUeW`zsRt&R zg7ITV>vnvSQ~nX3tB}s^LUGDc%xyi8yhPYg>XpA(wb_$YFTpRtn`wV|dobLI?a=|+ z5!NGrDp$Q9KrIC=;a7oplYxbv3Jx?i;d|ibj#z7svW~$F1}Wc&wWShgU6P6 yjekuUvg6A>taB`y@U2?1x-r)1_YtOMTLhn@rU9+0=*qOz@8CQ9n3}+4^Zx*QE;RrE literal 0 HcmV?d00001 diff --git a/obj/Debug/operation.o b/obj/Debug/operation.o new file mode 100644 index 0000000000000000000000000000000000000000..0a1a375a1e3064a4bf6ecc7e36cfb3a2d13d179f GIT binary patch literal 42959 zcmdUY3wTu3wf{bo$z%eV5Dc$D0#O3;kh};9i98Y@V0gqxct0E_lSwj=%!HW<59_mt zl~NRLu~kc}_G(+(YJESD_F7-m+N$ksZ++{%RV!7mZLjvW+Ft*^wf5tjNrJ)ve&0V| z&YX4D-h2JlT6^ui&)H|6a~4}e1pPH05Ml{aZmT#M-j-xq{ygsyq9Q|xA$#RJmmyzCMQXxg9OeuVV*kHLzJ*<3Ug?IC^64oV zN8xA{@_nmUzT$YQf_cc7L_X&q^s6nYsCKf%2pnC}H{T;Al~pPE2=@T;eXloeC>e`8 zEGBy&M83Nn`N%IN(^KsjyG4jY$ahHP`vuC?io7``Wu>J~;D2Na@!Dlhj?Pz>;z5%B z(v?EodxOl2VoF|lioxfCpZ_Hx-ctE;O}>h$vZVaAAYd)>#lIns$u6niv}w+KgIq$a z`-+pJ^Ho+lxfFSuu6A-LAL^s5D#g)c)TPLGgTjS)QJYsfr=+|z#etOX9^|{DPrj)s zxPL>wKOofxQ; zirTX?32M*!w|9*==tZGjP3~PAynA*o19z9Z=xxfqr+)wLEF*n>v}dQg?w zEes-=sSw{l(LRVfE`CD{+W9ncG4`(d*LUN;wrJ-g$$^pr>z#L?&+a_Vv0GF>dg&P{ z`q@Gm=|}}>no{7RPcM+c1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|;?&7wb&a zH_cz#9BU5L_o}j`;RN0lmZpD9#RC%?m bG=y8akb#(#epmLSzPMC}1fnT5fz9}TxFTrV literal 0 HcmV?d00001 diff --git a/operation.cpp b/operation.cpp index 6a0f9ad..be2681f 100644 --- a/operation.cpp +++ b/operation.cpp @@ -14,7 +14,7 @@ void insertAndSort(List &L, infotype x) { */ //-------------your code here------------- - your code here + address P; address Q; P = allocate(x); @@ -59,7 +59,7 @@ void deletebyID(List &L, int id_x) { address Prec, P; //-------------your code here------------- - your code here + infotype x; x.ID = id_x; P = findElm(L, x); @@ -93,7 +93,7 @@ void savePassedMember(List &L, List &L2){ */ address P; //-------------your code here------------- - your code here + List tmp; createList(tmp); while(first(L) != NULL){