Learn everything from EXPERIENCE

selamat datang di blog saya, mohon tinggalkan kritik dan saran

C++ animation frame

Kalian tertarik dengan C++? Bosan dengan tampilan program kalian? Jangan khawatir .... Terdapat berbagai cara untuk membuat tampilan akhir program kalian lebih menarik.
Berikut merupakan sebuah source code bingkai (frame) yang akan membuat tampilan program kalian lebih menarik

SOURCE CODE GAME BOY FRAME:

#include <iostream>
#include <conio>
#include <dos>

main()
{
    clrscr();
   textcolor(15);
   cprintf("      ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»");cout<<endl;
   cprintf("      ºÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛº");cout<<endl;
   cprintf("  ÉÍÍͼÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÈÍÍÍ»");cout<<endl;
   cprintf(" ɼÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÈ»");cout<<endl;
   cprintf(" ºÛÛÛÛÛÛÛÛÛÛÛÛÛÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»ÛÛÛÛÛÛÛÛÛÛÛÛÛº");cout<<endl;
   cprintf(" ºÛÛÛÛÛÛÛÛÛÛÛÛÛº                                                ºÛÛÛÛÛÛÛÛÛÛÛÛÛº");cout<<endl;
   cprintf(" ºÛÛÛÛÉÍÍÍ»ÛÛÛÛº                                                ºÛÛÛÛÉÍÍÍ»ÛÛÛÛº");cout<<endl;
   cprintf(" ºÛÛÛÛº   ºÛÛÛÛº                                                ºÛÛÛÛº   ºÛÛÛÛº");cout<<endl;
   cprintf(" ºÛÉÍͼ   ÈÍͻۺ                                                ºÛÉÍͼ   ÈÍͻۺ");cout<<endl;
   cprintf(" ºÛº         ºÛº                                                ºÛº         ºÛº");cout<<endl;
   cprintf(" ºÛº         ºÛº                                                ºÛº         ºÛº");cout<<endl;
   cprintf(" ºÛÈÍÍ»   ÉÍͼۺ                                                ºÛÈÍÍ»   ÉÍͼۺ");cout<<endl;
   cprintf(" ºÛÛÛÛº   ºÛÛÛÛº                                                ºÛÛÛÛº   ºÛÛÛÛº");cout<<endl;
   cprintf(" ºÛÛÛÛÈÍÍͼÛÛÛÛº                                                ºÛÛÛÛÈÍÍͼÛÛÛÛº");cout<<endl;
   cprintf(" ºÛÛÛÛÛÛÛÛÛÛÛÛÛº                                                ºÛÛÛÛÛÛÛÛÛÛÛÛÛº");cout<<endl;
   cprintf(" ºÛÛÛÛÛÛÛÛÛÛÛÛÛº                                                ºÛÛÛÛÛÛÛÛÛÛÛÛÛº");cout<<endl;
   cprintf(" ºÛÛÛÛÛÛÛÛÛÛÛÛÛÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼÛÛÛÛÛÛÛÛÛÛÛÛÛº");cout<<endl;
   cprintf(" È»ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛɼ");cout<<endl;
   cprintf("  ÈÍÍÍ»ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÉÍÍͼ");cout<<endl;
   cprintf("      ºÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛº");cout<<endl;
   cprintf("      ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ");cout<<endl;
   getch();
}

NB: warna frame dapat kalian ubah sesuai dengan keinginan masing-masing. Hanya dengan mengganti angka dalam kurung (15) dengan angka-angka yang lain.

SPOILER FOR HASIL


Semoga artikel ini bermanfaat. . . . :)

1 komentar:

Apriyanto mengatakan...

gan tolong dijelaskan gan maksut scribtnya, biar saya paham

Posting Komentar

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Best Buy Printable Coupons