Friday, 3 January 2014

MPLS

"use labels instead of ip address"

read www.ilmukomputer.com

Modulus

What can I say about modulus?

Modulus is an advancement of divide.

Cozy Environment to build a C program

1. Download codeblocks
2. Install codeblocks
3. Add codeblocks to system environment. Contoh: punya gue: C:/programfiles/codeblocks/bin
4. Open notepad, write your code there, save ke folder yang lo suka, punya gue: e:/C
5. Open cmd, type e:, type c,
6. type gcc <your filename> -o <your exe filename>
contoh: gcc aloha -o alohabin.exe
7. back to cmd, type alohabin
8. Finish

Component:
1. CMD
2. C file
3. C exe file

Compiling process in C


Komponen: samp.c, C compiler, samp.exe
Arti: file samp.c diinputkan ke C compiler kemudian dioutputkan menjadi samp.exe oleh C compiler.

Sekilas tentang C

Tentang
C menyediakan akses ke memory.

C memetakan instruksi-instruksi bahasa Assembly. Bahasa Assembly memetakan instruksi bahasa mesin. Jadi C juga memetakan instruksi bahasa mesin.

C membutuhkan dukungan run-time yang minimal.

C bisa digunakan untuk memprogram microcontroller sampai ke supercontroller.

C pertama kali digunakan untuk membuat sistem operasi UNIX.

Compiler
Microsoft's Visual C++ bisa mengkompilasi C dan C++
http://delorie.com/djgpp/

Library
Library = "Packeged of code yang membuat hidup kita lebih mudah"
Contoh: stdio.h

Standard types of variable
Int, char, float

Derivative types of variable

Surat-surat

1. Akte kawin
- dari gereja
- dari catatan sipil

2. Akte lahir anak
- dari catatan sipil

3. Kartu keluarga
- dari kantor camat

4. KTP
- dari kantor camat
- terdaftar di RT/RW, Kelurahan, Kecamantan
- Kartu keluarga

Windows Environment Variables

1. User variables for user
2. System Variables