1588, 78/80 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   sihun1113
   <»þ¿À¾² Ÿ·Î>4.ùȭ¸é±¸Çöpri.h

http://www.hackerschool.org/HS_Boards/zboard.php?id=Free_Lectures&no=1784 [º¹»ç]


À̹ø °­Á´ »þ¿À¾² Ÿ·ÎÀÇ Ã¹È­¸éÀ» ±¸ÇöÇÏ°Ú½À´Ï´Ù.



ùȭ¸éÀº ¿ì¼± ±âº»ÀûÀ¸·Î  º£À̽º°¡µÇ´Â ±×¸²°ú ƲÀÌ ÇÊ¿äÇϱº¿ä.



ÀÚ, ±×·³ ƲÀ» ¸¸µé¾î º¼±î¿ä?



¸ÕÀú ¼Ò½º¸¦ º¸½Ã°Ú½À´Ï´Ù.



/*ù È­¸éÀÇ Ãâ·ÂºÎºÐ
±âº» ƲÃâ·Â,±âº»Ã¹¸Þ´º¹öÆ° Ãâ·Â*/
void pri::first()
{
     gotoxy(0,0);//32(64)*30»çÀÌÁî
     WHITE;
     cout<<"¦£¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¤";
     cout<<"¦¢               ";
     YEL;
     cout<<",'";
     WHITE;
     cout<<"                                           ¦¢";
     cout<<"¦¢             ";
     YEL;
     cout<<",',',,,',,',";
     WHITE;
     cout<<"                                   ¦¢";
     cout<<"¦¢           ";
     YEL;
     cout<<",','',', ',',,'',,',";
     WHITE;
     cout<<"                             ¦¢";
     cout<<"¦¢          ";
     YEL;
     cout<<",' ',',,,',  ,',,'''";
     WHITE;
     cout<<"                              ¦¢";
     cout<<"¦¢          ";
     YEL;
     cout<<"',',,',,',',,','',',,'";
     WHITE;
     cout<<"                            ¦¢";
     cout<<"¦¢          ";
     YEL;
     cout<<",''    ,',', ,',',  '";
     WHITE;
     cout<<"                             ¦¢";
     cout<<"¦¢           ,      ";
     YEL;
     cout<<"'        ','";
     WHITE;
     cout<<"                              ¦¢";
     cout<<"¦¢           .   o      o     ";
     YEL;
     cout<<",'";
     WHITE;
     cout<<"                              ¦¢";
     cout<<"¦¢            .     :       .                                 ¦¢";
     cout<<"¦¢             .      _    .                                  ¦¢";
     cout<<"¦¢              .        .                                    ¦¢";  
     cout<<"¦¢                ` . .                                       ¦¢";  
     cout<<"¦¢     * . . . . ";
     HIGH;
     cout<<",..PpP.,";
     WHITE;
     cout<<" . .*                                ¦¢";
     cout<<"¦¢    ";
     YEL;
     cout<<"8888888";
     WHITE;
     cout<<"',`'";
     HIGH;
     cout<<"`      ,";
     WHITE;
     cout<<"'`,`'";
     YEL;
     cout<<"88";
     WHITE;
     cout<<"                              ¦¢";
     cout<<"¦¢  ";
     YEL;
     cout<<"88888888888";
     WHITE;
     cout<<",'`";
     HIGH;
     cout<<",    ,";
     WHITE;
     cout<<"`'`";
     YEL;
     cout<<"888888";
     WHITE;
     cout<<"                             ¦¢";
     cout<<"¦¢ ";
     YEL;
     cout<<"8888888 88888";
     WHITE;
     cout<<",'";
     HIGH;
     cout<<"`    .";
     WHITE;
     cout<<"'";
     YEL;
     cout<<"888888888";
     WHITE;
     cout<<"                            ¦¢";
     cout<<"¦¢";
     YEL;
     cout<<"888888   888888";
     WHITE;
     cout<<".";
     HIGH;
     cout<<"`bBBb`";
     YEL;
     cout<<"8888   8";
     WHITE;
     cout<<"                              ¦¢";
     cout<<"¦¢ ";
     YEL;
     cout<<"8888888  888888";
     WHITE;
     cout<<"`pPPp";
     YEL;
     cout<<"88888   8";
     WHITE;
     cout<<"                              ¦¢";
     cout<<"¦¢  ";
     YEL;
     cout<<"8888888, 88888      8888  ";
     WHITE;
     cout<<",.``,'                          ¦¢";
     cout<<"¦¢------------------------------------------                  ¦¢";
     cout<<"¦¢                                                            ¦¢";
     cout<<"¦¢                                                            ¦¢";
     cout<<"¦¢                                                            ¦¢";
     cout<<"¦¢                                                            ¦¢";
     cout<<"¦¢                                                            ¦¢";
     cout<<"¦¢                                                            ¦¢";
     cout<<"¦¢                                                            ¦¢";
     cout<<"¦¢                                                            ¦¢";
     cout<<"¦¦¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¥";
}



È­¸éÀ» ½ÇÇàÇغ¸¸é Ŭ »óÀÚƲ¾È¿¡ ¾È³»¸¦À§ÇÑ ±âº»±×¸²ÀÌ ÂïÇô³ª¿É´Ï´Ù.



¼Ò½º¸¦ ºÁµµ º°°Í ¾ø±º¿ä. 2¹ø° °­Á¿¡¼­ ¼³¸íÇÑ ºÎºÐÀÎ »ö±ò¹Ù²Ù±â¸¦ ÀÌ¿ëÇÏ¿©



»ö±òÀ» ¹Ù²ã°¡¸é¼­ Ãâ·ÂÀ» ÇÑ°Í»©°ï ÀÌ·¸´ÙÇÏ°Ô ¾î·Á¿î ºÎºÐÀÌ ¾ø½À´Ï´Ù.



´Ù¸¸ ÀÌ·¸°Ô ÄÜ¼Ö ÇÁ·Î±×·¥ÀÇ Æ²À» ¸¸µé¸é



´ÙÀ½ ÇÁ·Î±×·¡¹ÖÀÇ ±¸ÇöºÎÅÍ Æ²ÀÇ Á¦¾àÀÌ °¡ÇØÁö¹Ç·Î ½ÅÁßÈ÷ »çÀÌÁ °í·ÁÇؾßÇÕ´Ï´Ù



ÀØÁö ¸¶¼¼¿ä~@





ÀÌ·¸°Ô ±×¸²±îÁö ³ÖÀº ƲÀ» ¸¸µé¾î¼­ ÄÄÆÄÀÏÀ» Çغ¸´Ï



¿ì»ó´ÜÀÌ ¹º°¡ ÇãÀüÇϱº¿ä



ÀÌ·²¶© ÀÌÆåÆ®°¡ ÇÊ¿äÇÏÁö¿ä.



Àü º°ÀÌÆåÆ®¸¦ ³Ö¾îº¸¾Ò½À´Ï´Ù.



/*º°(½ºÅ¸) ÀÌÆåÆ® ºÎºÐ
º°À̶³¾îÁö´Â(À¯¼±)ÀÇ ÀÌÆåÆ®¸¦ È­¸é ¿ìÃø»ó´Ü¿¡ Ãâ·ÂÇØÁØ´Ù.*/
void pri::stareffect()
{
     //st0
     WHITE;
     gotoxy(53,1);
     cout<<"£¯";
     Sleep(50);
     gotoxy(52,2);
     cout<<"£¯";
     Sleep(50);
     gotoxy(51,3);
     cout<<"£¯";
     Sleep(50);
     gotoxy(50,4);
     cout<<"£¯";
     Sleep(50);
     //st1
     gotoxy(49,5);
     cout<<"£¯";
     gotoxy(60,1);
     cout<<"£¯";
     Sleep(50);
     gotoxy(48,6);
     cout<<"£¯";
     gotoxy(59,2);
     cout<<"£¯";
     Sleep(50);
     gotoxy(47,7);
     cout<<"£¯";
     gotoxy(58,3);
     cout<<"£¯";
     Sleep(50);
     gotoxy(46,8);
     YEL;
     cout<<"¡Ù";
     WHITE;
     gotoxy(57,4);
     cout<<"£¯";
     //st2
     Sleep(50);
     gotoxy(56,5);
     cout<<"£¯";
     gotoxy(60,6);
     cout<<"£¯";
     Sleep(50);
     gotoxy(55,6);
     RED;
     cout<<"¡Ù";
     WHITE;
     gotoxy(59,7);
     cout<<"£¯";
     Sleep(50);
     gotoxy(58,8);
     cout<<"£¯";
     Sleep(50);
     gotoxy(57,9);
     cout<<"£¯";
     Sleep(50);
     gotoxy(56,10);
     HIGH;
     cout<<"¡Ù";  
     WHITE;
}



¿ª½Ã³ª º°°Í ¾ø½À´Ï´Ù



Àú¹ø°ú ´Ù¸§À̶ó¸é Sleep¹®À» ³Ö¾î¼­ µô·¹À̸¦ °Ç°ÍÀä.



Sleep(1000);À» Çϸé 1ÃÊ°£ÀÇ µô·¹ÀÌ°¡ °É¸³´Ï´Ù.



50Àº 0.05ÃÊÀÌÁö¿ä.



¶ÇÇÑ ÀÌSleep¹®À» ¾µ·Á¸é windows.h¸¦ ÀÎŬ·çµåÇؾßÇϴµ¥



¾Õ¼­ show.h¿¡¼­ ÇÏ¿´±â¶§¹®¿¡ ÀÌ ³»¿ëÀÌ µé¾î°¡´Â ÆÄÀÏÀÎ pri.h¿¡´Â



#include "show.h"



¸¸ ÇÏ¸é µÈ´ä´Ï´Ù.







ÀÌÁ¦ À§ÂÊÀÇ ÀÌÆåÆ®±îÁö ³Ö¾úÀ¸´Ï ȯ¿µÀÎ »ç°¡ ÇÊ¿äÇÒ°Í °°½À´Ï´Ù.



ÀÌ È¯¿µÀλç´Â È­¸éÀÇ ¿À¸¥ÂÊ Áß°£¿¡ ³ÖÀ» °Çµ¥¿ä..



À½...



»ý°¢À» Çغ¸ÁÒ..



´ÙÀ½ °­Á·ΠÀ̾îÁý´Ï´Ù.
[Ãâó] <»þ¿À¾² Ÿ·Î>4.ùȭ¸é±¸Çöpri.h (C¾ð¾î¸¦ ¹è¿ìÀÚ) |ÀÛ¼ºÀÚ ÇØĿǪ


  Hit : 6739     Date : 2011/06/04 08:19



    
48   * printf »ç¿ë¹ý     limjongmin
08/20 7079
47   * for¹® »ç¿ë¹ý[2]     limjongmin
08/20 7460
46   * ȨÆäÀÌÁö ÇØÅ· * ÁÁÀºÀÚ·á *[7]     HackerMapia
02/22 11334
45   * ÇØÄ¿¸¦ À§ÇÑ ·¹Áö½ºÆ®¸® ÇغΠ°­Á *[2]     HackerMapia
02/24 11369
44   * ÇØÄ¿°¡ ¾Ë¾Æ¾ßÇÒ 30°¡Áö *[2]     HackerMapia
02/22 10069
43   * ÇØÄ¿°¡ µÇ°í½Í³ª ? *[19]     HackerMapia
03/01 13226
42   * ÇØÄ¿ÀÇ ºÐ·ù *[6]     HackerMapia
02/22 8272
41   * ÇØÅ·¿µÈ­ º¼¸¸ÇÑ°Å *[5]     HackerMapia
02/20 12249
40   * ÇØÅ·ÀÇ °ø°Ý±â¼ú *[3]     HackerMapia
03/01 13911
39   * C¾ð¾î¸¦ ²À¹è¿ö¾ßÇϴ°¡ *[2]     HackerMapia
02/21 9120
38   * C C++ *     HackerMapia
03/01 8343
37   * À©µµ¿ì¸¦ ºü¸£°Ô¿­ÀÚ *[6]     HackerMapia
02/24 8047
36   * À©µµ¿ì ´ÜÃàÅ° ¾Æ´Â°Íµé *[7]     HackerMapia
02/20 7822
35   * À©µµ¿ì ÇØÅ·ÀÇ ±âº»¿ø¸® *     HackerMapia
02/21 19107
34   * À©µµ¿ì ÇØÅ·ÀÇ ±âº» ¿ø¸®*[29]     oes2
08/26 13904
33   * À©µµ¿ì Á¾·á¸¦ ºü¸£°Ô *[2]     HackerMapia
02/20 8368
32   * Á¡È­½ÄÀÇ °£´ÜÇÑ ¾Ë°í¸®Áò     limjongmin
08/20 9513
31   * Á¡È­½Ä °£´ÜÇÏ°Ô     limjongmin
08/20 7411
30   * ÀÎÅͳݰ˻öÀÌ ´ÞÀÎÀÌ µÇ´Â 10°¡Áö ¹æ¹ý *[1]     HackerMapia
02/24 8436
29   (²Ä¼ö) L.O.B Çѹ濡 Ŭ¸®¾îÇϱâ[2]     ÇØÅ·ÀßÇÏ°í½Í´Ù
01/14 1877
[1]..[71][72][73][74][75][76][77] 78 [79][80]

Copyright 1999-2024 Zeroboard / skin by Hackerschool.org / Secure Patch by Hackerschool.org