Opensuse11.4

Pertemuan 5 Praktikum


Pada pertemuan ini, kita belajar tentang pipe dan bagaimana membuat validasi

Berikut file pertemuan 5 : Pert5.c

Materi :

PIPE → pipa

Proses1 ================Proses2

input/ouput                                 input/output

user input : nama

Proses 1==============Proses 2

Write                                          Read

Close Read                                 Close Write

Pipe ada 2 : Unnamed, named

Unnamed

FD → File Descriptor

0 read

1 write

prk@BN62915:~/Desktop/D> gcc pert5.c

prk@BN62915:~/Desktop/D> gcc pert5.c -o a

prk@BN62915:~/Desktop/D> ./a

Input your name : allan

your name : allan

prk@BN62915:~/Desktop/D>

//strcasecmp sama seperti strcmpi tp di linux hanya bisa strcasecmp

strstr

strcat

Website untuk belajar tentang string : cplusplus.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s