hmm.. hay..
i'm confused this week... but for refresh i have a little time. :D
this fungsion same of before this article.
this coding :
#include <iostream.h>
#include <conio.h>
int main(){
char x[]="http://refresh-it-karawang.blogspot.com";
int aa,bb,ii,nn;
nn=strlen(x);
for(ii=0; ii<nn; ii++){
for(aa=0; aa<99999;aa++){
...
Tampilkan postingan dengan label Cplusplus. Tampilkan semua postingan
Tampilkan postingan dengan label Cplusplus. Tampilkan semua postingan
hy... meet my writing , i can share about animation for c++ but this for opener..
:). i can shared simple coding
#include <iostream.h>
#include <conio.h>
#include <windows.h>
#define delay Sleep
main()
{
cout<<"a";
delay(100);
cout<<"d";
delay(100);
cout<<"i";
delay(100);
cout<<" ";
delay(100);
cout<<"r";
delay(100);
cout<<"i";
delay(100);
cout<<"z";
delay(100);
cout<<"k";
delay(100);
cout<<"y";
delay(100);
cout<<"...
hmm.. english language time.. :D
i can't write english but i try, sorry if my language not good.. maybe other admin can fix this.
hmm les't play animation for c++,
this animation for presentation, for good looking tour presentation.
if you boring your c++ program you can add this coding, i get this coding from a blog :D
#include <Windows.h>
#include <iostream>
#define delay Sleep
void gotoxy(unsigned int kolom, unsigned int baris)
{
COORD posisi = {kolom,baris};
...
wrt:kurcaci507@gmail.com
hmmm... sangat sulit untuk menemukan scrip jam.. nah sekarang saya akan memberikan secara cuma-cuma..hahahatime and date in c++
tanggal dan jam pada c++
#include <time.h>
#include <stdio.h>
#include <conio.h>
void main() {
struct tm *Sys_T;
time_t a;
a = time(NULL);
Sys_T = localtime(&a);
printf ( "\n\njam sekarang adalah : %s", asctime (Sys_T));
...
kurcaci507@gmail.com
menampilkan bilangan bulat dan ganjil.
#include<iostream.h>
#include<conio.h>
main()
{
int max,a;
cout<<"masukan jumlah angka yang ingin d tampilkan\n;
cin>>max;
cout<<"ganjil genap"<<endl;
for (a=0;a<max;a++){
if (a%2==1)
{
cout<<a;
}
cout<<" ";
if (a%2==0)
{
cout<<a<<endl;
}
}
getch();
...
/*program penghitung gaji karyawan*/
#include<iostream.h>
void main()
{
float gapok, tunjangan, pajak, gaji;
char nama[30],bagian[30];
cout<<"PENGHITUNG GAJI BERSIH KARYAWAN"<<endl;
cout<<" ---PT.PAZILER CORPORATION---"<<endl;
cout<<"-------------------------------"<<endl;
cout<<"Siapa Nama Anda :";cin>>nama;
cout<<"Bagian Anda :";cin>>bagian;
...
Langganan:
Postingan (Atom)