Sunday, 16 February 2014

Animation For C++

 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};
    SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), posisi);
}
int main ()
{
       for(int i=0;i<999; i++)
       {
              gotoxy(i,10);
              cout << "refresh-it-karawang.blogspot.com";
              gotoxy(i,11);
              cout << "refresh team";
              delay(100);
              gotoxy(i,10);
              cout << "                   ";
              gotoxy(i,11);
              cout << "                             ";
              if (i==999)
              {
                     i=0;
              }
       }
i use borlan c++ , M.visual studio 6.0 and 2008.. this work 100%
this animation for end your program..
may be useful.
thaks you was read our blog :)
came letter

No comments:

Cool B themes Slider

Translate

coment