Abstract Data Type dalam bahasa C

by fikri2992 - 03-11-2016 at 02:54 PM
Junior Member
Posts:
4
Joined:
Mar 2016
Likes:
0
Reputation:
0
2 Year Of Service
#1
OP
Posted: 03-11-2016, 02:54 PM
Abstract Data Type atau tipe data abstrak

Abstract data type atau ADT adalah type data Bentukan baru yang terdiri dari type data primitif(type data yang di sudah ada dalam suatu bahasa pemrogramman ) dan type data bentukan lainya.

ADT ini biasanya dipelajari di Mata Kuliah STUKTUR DATA /algortima
:D :D

untuk ADT ini sendiri awalnya digunakan untuk mengolah data agar lebih mudah dan terstruktur
pengolohan datanya akan terdiri dari
1. constructor ini adalah proses penciptaan data yang terdapat dari adt yang biasanya akan di mulai dari NULL/nil
2. selector ini adalah bagian pemilih biasanya untuk memunculkan data mencari data dan proses proses lainya
3. I/O instruction ini adalah bagian diaman proses berhubungan dengan perangkat input output
4. logical and aritmatical instruction ini adalah bagian dimana proses matematis dan logis dari suatu ADT berjalan
5. destructor ini adalah bagian penghapusan atau penghancuran data proses proses pelenyapan data baik secara memorial(ilang dari dalem memory) ataupun visual(tampilannya aja yang ilang) ;) ;) ;) nih buat conto ADT nya
nah untuk adt di bahasa C sendiri di deklarasikan menggunakan syntax "typedef" dan "struck"

bisa di deklarasikan menjadi
typedef struck{
typedata1...
typedata2...
typedatalainya...
}namaADT;

atau dengan

typedef struck namaADT{
typedata1...
typedata2...
typedatalainya...
};

nah berikut contoh penggunaan typedata di ADT ini gan
ane udah pernah bikin namanya adt point adt ini sifatnya buat nunjukin koordinat tapi masih berbentuk cli dan cuman tugas kuliah jadi bakal biasa biasa aja heheh :D

bisa di download link download :D
Reply
Find Posts
Legion
Legion
Posts:
12
Joined:
Mar 2016
Likes:
0
Reputation:
0
2 Year Of Service
#2
Posted: 03-12-2016, 02:44 AM
di tunggu thread c berikutnya om.
Reply
Find Posts
Junior Member
Posts:
4
Joined:
Mar 2016
Likes:
0
Reputation:
0
2 Year Of Service
#3
OP
Posted: 03-12-2016, 07:17 AM
siap om :D
Reply
Find Posts
Junior Member
Posts:
1
Joined:
Mar 2017
Likes:
0
Reputation:
0
1 Year of Service
#4
Posted: 03-09-2017, 10:48 AM
C was initially created by Dennis Ritchie in the vicinity of 1969 and 1973 at Bell Labs and used to re-actualize the Unix working framework. It has since turned out to be a standout amongst the most broadly utilized programming dialects ever with C compilers from different merchants accessible for the lion's share of existing PC structures and working frameworks. c programming pdf C has been institutionalized by the American National Standards Institute (ANSI) since 1989 (see ANSI C) and consequently by the International Organization for Standardization (ISO).

Notwithstanding its low-level abilities, the dialect was intended to support cross-stage programming. A norms consistent and movably composed C program can be accumulated for a wide assortment of PC stages and working frameworks with few changes to its source code. The dialect has turned out to be accessible on an extensive variety of stages, from implanted microcontrollers to supercomputers. Unix was one of the principal working framework portions actualized in a dialect other than gathering. Prior occasions incorporate the Multics framework which was composed in and Master Control Program for the Burroughs B5000 written in ALGOL in 1961. In around 1977, Ritchie and Stephen C. Johnson rolled out further improvements to the dialect to encourage conveyability of the Unix working framework. Johnson's Portable C Compiler filled in as the reason for a few usage of C on new stages.
Reply
Find Posts
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)