Postingan

Menampilkan postingan dari 2018

struktur data teori (Rangkuman Materi )

https://docs.google.com/presentation/d/1cklBbS7zvBMLc7m0I6cwkGFH23uaThbqqOtCCdVt1JA/edit#slide=id.p3

Sistem Informasi

https://docs.google.com/presentation/d/1abi8YIy0dTjsDknVTDbXE32TIOjTCHJ0xSTEvaFYbOA/edit#slide=id.p3

ios::uppercase dan ios::showbase

Gambar
ios::uppercase dan ios::showbase ios::uppercase : Memformat huruf pada notasi heksadesimal dalam bentuk huruf kapital. ios::showbase : Menampilkan awalan 0x untuk bilangan heksadesimal atau 0 (nol) untuk bilangan oktal. Contoh program ios::uppercase : #include <stdlib.h> #include <iostream.h> #include <iomanip.h> #include <conio.h> main() { int a; clrscr(); cout<<"Pengguna ios::uppercase\n"; cout<<"-------------------------"; cout<<"Tanpa Dengan \n"; cout<<"Konversi Konversi\n"; cout<<"-------------------"; for (a=1; a<=15; a++) cout<<hex<<a<<endl; for (a=1; a<=15; a++) { gotoxy (13,a+5); cout<<setiosflags(ios::uppercase)<<hex<<a<<andl; } getch(); } Contoh program ios::showbase : #include <conio.h> #include<iostream.h> #include<iomanip.h> main() { int a; ...