Monthly Archives: March 2014

Tugas Struktur Data (32PPT) – Doubly Linked List

Download: http://pastebin.com/SpCBXAhU #include<stdio.h> #include<stdlib.h> struct node { int data; struct node *prev; struct node *next; }*head, *last; void display() { struct node *temp; temp=head; while(temp!=NULL) { printf(” %d “,temp->data); temp=temp->next; } } void insertAwal() { struct node *var,*temp; var=(struct node *)malloc(sizeof(struct … Continue reading

Posted in Struktur Data, Uncategorized | Leave a comment

TUGAS TM02- PEMROGRAMAN BERORIENTASI OBYEK

TM 02 (Albert Hendry Harsono/1701296914/02PPT) 1.   Copy constructor suatu class dieksekusi jika obyek klas di-copy dengan mekanisme di bawah ini kecuali: a. direct assignment b. initialization c. passing by value d. return by value   2.   Fungsi anggota yang … Continue reading

Posted in PBO, Uncategorized | Tagged | Leave a comment

Tugas Struktur Data (32PPT) – Linked List Insertion

Tugas Tutorial Class 32PPT Input angka (maks. 10) & Output angka dengan Linked list Albert Hendry Harsono (1701296914) #include<stdio.h> #include<stdlib.h> struct node { int x; struct node *next; }; int main() { int banyak=0; int j=0; struct node *root; struct node … Continue reading

Posted in Struktur Data, Uncategorized | Tagged | Leave a comment

Tugas TM01- Pemrograman Berorientasi Obyek

TM 01 (Albert Hendry Harsono/1701296914/02PPT) Ada tiga istilah yang saling berkaitan saat kita mulai mempelajari OOP yaitu ADT (Abstract Data Type), encapsulation dan class. Coba uraikan secara rinci apa yang dimaksud istilah-istilah tersebut. Selain itu berikan contoh-contohnya. –          Abstract Data … Continue reading

Posted in PBO, Uncategorized | Leave a comment