kapan saya geek yaaa ?
semakin mendekati 10.000 post semakin malas rasanya buat nge-post :(
Nama | Fungsi | Lambang dalam rangkaian | Tabel kebenaran | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IEC 60617-12 | US-Norm | DIN 40700 (sebelum 1976) | ||||||||||||||||||
Gerbang-AND (AND) |
| |||||||||||||||||||
Gerbang-OR (OR) |
| |||||||||||||||||||
Gerbang-NOT (NOT, Gerbang-komplemen, Pembalik(Inverter)) | \
| |||||||||||||||||||
Gerbang-NAND (Not-AND) |
| |||||||||||||||||||
Gerbang-NOR (Not-OR) |
| |||||||||||||||||||
Gerbang-XOR (Antivalen, Exclusive-OR) | atau |
| ||||||||||||||||||
Gerbang-XNOR (Ekuivalen, Not-Exclusive-OR) | atau |
|
# include <iostream.h>void main(){Cout << "hello world\n";}
#include <iostream.h>
void main ()
{
cout Cout << "Hello world\n";
\n
}
auto | const | double | float | int | short | struct | unsigned |
break | continue | else | for | long | signed | switch | void |
case | default | enum | goto | register | sizeof | typedef | volatile |
char | do | extern | if | return | static | union | while |
asm | dynamic_cast | namespace | reinterpret_cast | try |
bool | explicit | new | static_cast | typeid |
catch | false | operator | template | typename |
class | friend | private | this | using |
const_cast | inline | public | throw | virtual |
delete | mutable | protected | true | wchar_t |
Nama | Keterangan | Ukuran | Jangkauan |
---|---|---|---|
char | Abjad/karakter atau untuk bilangan bulat kecil | 1 byte | signed: -128 to 127 unsigned: 0 to 255 |
short int (short) | Bilangan bulat dengan jangkauan pendek | 2 byte | signed: -32768 to 32767 unsigned: 0 to 65535 |
int | Bilangan bulat | 4 byte | signed: -2147483648 to 2147483647 unsigned: 0 to 4294967295 |
long int (long) | Integer dengan jangkauan panjang | 4 byte | signed: -2147483648 to 2147483647 unsigned: 0 to 4294967295 |
bool | Boolean, dapat bernilai benar atau salah (true or false) | i byte | true or false |
float | Angka dengan titik mengambang (bilangan cacah) | 4 byte | 3.4e +/- 38 (7 digit) |
double | Bilangan cacah dengan ketelitian ganda | 8 byte | 1.7e +/- 308 (15 digits) |
long double | Bilangan cacah dengan ketelitian ganda panjang | 8 byte | 1.7e +/- 308 (15 digits) |
wchar_t | Karakter lebar, biasa dipakai untuk Unicode karakter | 2 byte | 1 karakter lebar |