ÇÁ·Î±×·¡¹Ö

 3204, 11/161 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   an0088
   http://¾øÀ½
   C¾ð¾î ¼Ò½ºÁú¹®ÀÔ´Ï´Ù!

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


»õº®¿¡ ¾ÆÀ̵ð¾î°¡ ¶°¿Ã¶ó¼­ ¸¸µé¾ú´Âµ¥ Ãʺ¸ÀÎÁö¶ó ±¸±Û¸µÇϸ鼭 ¸¸µé¾ú´õ´Ï ¿À·ù°¡ ³µ½À´Ï´Ù.
´É·ÂÀÚºÐÀÇ µµ¿òÀÌ ÇÊ¿äÇØ¿ä!

#include <stdio.h>
#include <stdlib.h> // rand() ÇÔ¼ö Æ÷ÇÔ ¶óÀ̺귯¸®
#include <windows.h>
#include <conio.h>


int main(void){
        
        char a[50];
        char s[50];
        char d[50];
    char f[50];
    char q[50];
     char w[50];
        
        system("tiTle ÇØŷüÇè ÇÁ·Î±×");
         SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED | FOREGROUND_INTENSITY);
    printf("¾È³çÇϼ¼¿ä ÀÌ ÇÁ·Î±×·¥ÀÇ Á¦ÀÛÀÚ Æ¼Å¸ÀÓÀ̶ó°íÇÕ´Ï´Ù.\n\n");
        Sleep(3000);
        printf("°£´ÜÇÏ°Ô ÇØŷüÇèÀ» ÇÒ¼öÀÖÀ½°ú µ¿½Ã¿¡ Èï¹Ì¸¦ °¡Áú¼öÀÖ°Ô ¸¸µé¾îº¸¾Ò½À´Ï´Ù.\n");
                Sleep(3000);
        printf("±×·³ ½ÃÀÛÇغ¸°Ú½À´Ï´Ù!\n\n");
        printf("Á¢¼ÓÇϽðڽÀ´Ï±î?(YES/NO) \n");
        scanf("%s", &a);
        
        if(a == YES)
        {
                printf("Á¢¼ÓÁßÀ» ½ÃÀÛÇÕ´Ï´Ù");
                Sleep(1000);
                printf(".");
            Sleep(1000);
                printf(".");
            Sleep(1000);
                printf(".");
                printf("¿Ï·á");
                 system( "cls" );
        }
    else
        {
    printf("Á¢¼ÓÇϽðڽÀ´Ï±î?(YES/NO) \n");
        scanf("%s", &a);
         }
        
        printf("¸ÞÀÏÀÌ ¿Ô½À´Ï´Ù.\n\n");
        printf("º¸³½»ç¶÷ : A\n\nÀ̺Á ³» ºÎŹÁ» µé¾îÁà 'NED'¸¦ ÇØÅ·ÇØÁà! ¾ÆÀ̵𸦠ÀÒ¾î¹ö·Á¼­ ¸»ÀÌÁö. ´Ð³×ÀÓÀº GOODÀ̾ß\n\n");
        Sleep(3000);
        printf("ÇØÅ·ÇÒ »çÀÌÆ®¸¦ ÀÔ·ÂÇϽʽÿÀ. ");
        scanf("%s", &s);
        printf(".");
        Sleep(1000);
         printf(".");
        Sleep(1000);
         printf(".");
        Sleep(1000);
        printf("Á¢¼Ó¿Ï·á");
         system( "cls" );
         SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_GREEN | FOREGROUND_INTENSITY);
         printf("N     N   EEEEEEE    DDDDD\n");
         printf("NN    N   E          D    D\n");
         printf("N N   N   EEEEEEE    D     D\n");
         printf("N   N N   E          D     D\n");
         printf("N    NN   E          D    D\n");
         printf("N     N   EEEEEEE    DDDDD\n\n");
                 SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE);
                 printf("%s¿¡ Àß¿À¼Ì½À´Ï´Ù.", &s);
                 
                 printf("·Î±×ÀÎ : ");
                 scanf("%s", &d);
                 SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED | FOREGROUND_INTENSITY);
                printf("\n\nÀá±ñ ¿©±â¼­ºÎÅÍ´Â ³»°¡ ¾Ë·ÁÁÙ²².\n");
                 Sleep(2000);
                 printf("ÀÏ´Ü ³»°¡ ¹Ì¸® »çÀÌÆ®¸¦ ÇØÅ·Çسõ¾Ò¾î Áö±Ý ±×°É ³Ê È­¸é¿¡ ¶ç¿öÁÙ²²\n");
                  Sleep(2000);
                SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE);
                system( "cls" );
                SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED | FOREGROUND_INTENSITY);
                Sleep(2000);
                printf("\n\nÀÏ´Ü ¼­¹ö·Î ¿¬°áµÉ²¨¾ß.\n");
            Sleep(4000);
            printf("±×·³ °¡Àå ¸ÕÀú -h À̶ó°í ÀÔ·ÂÇÏ¸é ¸í·É¾î°¡ ³ª¿Ã²¨¾ß.");
            Sleep(4000);
            printf("±×°É Àߺ¸¸é¼­ ÇغÁ >_<");
             Sleep(2000);
                     SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE);
                     do{
                printf("NED ¸Þ¸ð¸®½Ã½ºÅÛ");
                printf("<°ü¸®ÀÚ/ ");
                scanf("%s", &w);
                        switch(&a) {
                                case -h : printf("¸í·É¾î ¸ñ·Ï\n\nhelp  -h : ¸í·É¾î ¸ñ·Ïº¸±â\nUser List -u : À¯Àú¸ñ·ÏÀ» °¡Á®¿É´Ï´Ù.\n Exit -e : ÇÁ·Î±×·¥À» Á¾·áÇÕ´Ï´Ù. \n\n");
                
                case -u : printf("[ À¯Àú¸ñ·Ï ]\n\n ID : an4126 > 'Alex'\nID : TT<3 > 'Momo'\nID : Good1681 > GOOD");
                
                case -e : printf("³ª°¡Áý´Ï´Ù.");
                        break;  
    default : printf("¸í·É¾î ¸ñ·Ï\n\nhelp  /h : ¸í·É¾î ¸ñ·Ïº¸±â\nUser List -u : À¯Àú¸ñ·ÏÀ» °¡Á®¿É´Ï´Ù.-n Exit -e : ÇÁ·Î±×·¥À» Á¾·áÇÕ´Ï´Ù. \n\n");
                 }
}while (a == -e);
        
         do{
        
         if(d == GOOd1681)
                 {
                         printf("ȯ¿µÇÕ´Ï´Ù GOOD´Ô\n");
                         SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 8);
                         Sleep(1000);
                         printf("¾ÆÀ̵𸦠ã¾Ò¾î. ÀÌÁ¦ ´äÀ庸³»Áà¾ßÁö.");
                         Sleep(2000);
                         printf("ÀḸ ÀÌ°É ÇØÄ¿Á¶Á÷¿¡°Ô ³Ñ±â¸é ¿ëµ·Àº ¹ú¼öÀÖÀ»ÅÙµ¥...");
                         SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE);
                         Sleep(3000);
                         printf("ÇØÅ·Á¶Á÷(1) GOOD(2)");
                         printf("º¸³¾»ç¶÷ (1/2): ");
                         scanf("%s", &q);
                 }
                 else
                 {
                         printf("¾ÆÀ̵𰡠ÀÏÄ¡ÇÏÁö¾Ê½À´Ï´Ù.");
                 }
}while (d == GOOd1618);

if(q == 1)
{
        printf("ÇØÅ·Á¶Á÷¿¡°Ô Àü¼ÛÇÏ¿´½À´Ï´Ù.");
        Sleep(2000);
        printf("¾÷Àû´Þ¼º! '±×·¸°Ô ÇؾߵǰڴÏ?'");
}
         else
         {
                 printf("°¨»çÇÕ´Ï´Ù! ¿ª½Ã ´ç½ÅÀ̶ó¸é ÇØ°áÇØÁÙ¼öÀÖÀ»²¨¶ó ¹Ï°íÀÖ¾ú¾î¿ä!");
          }
        
}
        
        
         ¿À·ùÄÚµå´Â ÀÌ·¸½À´Ï´Ù.

In function 'int main()':
error: 'YES' was not declared in this scope
error: switch quantity not an integer
error: 'h' was not declared in this scope
error: 'u' was not declared in this scope
error: 'e' was not declared in this scope
error: 'e' was not declared in this scope
error: 'GOOd1681' was not declared in this scope
error: ISO C++ forbids comparison between pointer and integer [-fpermissive]

  Hit : 5348     Date : 2020/01/05 06:58



    
jungws0530 a == YES ¡æ ¹®ÀÚ¿­ ºñ±³ÇÒ ¶§¿¡´Â strcmp()¸¦ ÀÌ¿ëÇϼ¼¿ä.
a == -e ¡æ ¹®ÀÚ¿­ ºñ±³ÇÒ ¶§¿¡´Â strcmp()¸¦ ÀÌ¿ëÇϼ¼¿ä.
d == GOOd1681 ¡æ ¹®ÀÚ¿­ ºñ±³ÇÒ ¶§¿¡´Â strcmp()¸¦ ÀÌ¿ëÇϼ¼¿ä.
q == 1 ¡æ ¹®ÀÚ¿­ ºñ±³ÇÒ ¶§¿¡´Â strcmp()¸¦ ÀÌ¿ëÇϼ¼¿ä.

switchÀÇ °ª¿¡´Â Á¤¼öÇüŸ¸ µé¾î°¥ ¼ö ÀÖ½À´Ï´Ù. ¡æ if¹®À» ÀÌ¿ëÇϼ¼¿ä.
2020/01/05  
turttle2s http://patorjk.com/software/taag/#p=display&f=Big&t=NED

ÀÌ·±°ÍµµÀÖ¾î¿ä!
2020/01/06  
photosibal if(a == YES)
{
printf("Á¢¼ÓÁßÀ» ½ÃÀÛÇÕ´Ï´Ù");
Sleep(1000);
printf(".");
Sleep(1000);
printf(".");
Sleep(1000);
printf(".");
printf("¿Ï·á");
system( "cls" );
}
¿©±â¿¡ a == YESÀ̺κÐÀº a == "YES"ÀÌ·±½ÄÀ¸·Î ¾²¼Å¾ßÇÕ´Ï´Ù
2020/08/23  
pr0sp3r º¯¼ö¿Í ¹®ÀÚ¿­À» ¾î¶»°Ô ±¸ºÐÇÒ±î¿ä?
ÁÖ¼Ò¿Í ÁÖ¼ÒÀÇ °ªÀº ¾î¶»°Ô ±¸ºÐÇÒ±î¿ä?
¹Ýº¹µÇ´Â Äڵ带 ¾î¶»°Ô ÁÙÀϼö ÀÖÀ»±î¿ä?
¾Æ¸§´Ù¿î Äڵ带 ¸¸µé°í ½ÍÀºµ¥ ¾î¶»°Ô ÇÏ¸é µÉ±î¿ä?
2021/02/02  
somass ¤§ 2022/09/16  
  C¾ð¾î ¼Ò½ºÁú¹®ÀÔ´Ï´Ù![5]     an0088
01/05 5347
3003   ¿Â¶óÀÎ °ÔÀÓ ÇÁ¸®¼­¹öÀÇ ¿ø¸®´Â ¹«¾ùÀΰ¡¿ä?[9]     splo1208
09/20 5329
3002   ÀΰøÁö´É ÇÁ·Î±×·¥À» ¸¸µé±â À§ÇØ ¾î¶² Áغñ(?)°¡ ÇÊ¿äÇÑ°¡¿ä?[4]     ERIC910903
04/24 5316
3001     [re] C¾ð¾î¿Í ¸®´ª½º Ã¥ Á» ÃßõÇØÁֽñæ...[1]     ¼ÒÀ¯
09/18 5312
3000   ÀÚ¹Ù GUI Ã¥ Ãßõ[1]     benkim
05/16 5309
2999   °íµîÇлý ÇÁ·Î±×·¡¹Ö ´ëȸ°°Àº °Í ¾ø³ª¿ä?[3]     gkswls123
03/23 5299
2998     [re] ÄíÅ°&¼¼¼Ç ½ºÇªÇÎ? ÇÏÀÌÁ§Å·?[3]     ¼Û½Ã
11/16 5293
2997   ¸®´ª½º ±â¹Ý ¼ÒÄÏ ÇÁ·Î±×·¡¹Ö ¼ÒÄÏÇÁ·Î±×·¡¹Ö ´ë¼Ò¹®ÀÚ º¯È¯ÇÏ°í½ÍÀºµ¥ ¾îµðÀ§Ä¡¿¡´Ù°¡³ÖÁÒ?´äº¯ºÎŹÇØ¿ä ¤Ð¤Ð°í¼ö´Ôµé[5]     kiskind
10/02 5286
2996   C¾ð¾î·Î§ ´ÙÇ×½ÄÀÔ´Ï´Ù. ÀßÇϽôºР¼Ò½ºÇؼ®Á»;;;     ddrsinger
04/07 5278
2995   system()ÇÔ¼ö°¡...[4]     badboy25
10/28 5270
2994   C¿¡¼­ À½¾Ç ³Ö±â[8]     qkreoghks00
12/05 5260
2993   c¾ð¾î ÇÔ¼ö Áß¿¡¼­...[4]     jsw0441
06/17 5259
2992   C¾ð¾î µ¶ÇÐÇغ¸°íÀÚ ÇÕ´Ï´Ù.[7]     jang976
02/05 5257
2991     [re] C¾ð¾î ¸»Àä..^^;     yl
09/06 5256
2990   Áú¹®ÀÌ¿µ     blue_star
09/08 5252
2989   ÇϳëÀÌž c++[1]     jkh0721
03/26 5250
2988   (char*)&integer....[3]     soul214
06/26 5237
2987   c¾ð¾î ÇÒ ¶¼ ¶ç¾î ¾²±â¿¡ °üÇÑ Áú¹®ÀÔ´Ï´Ù[3]     gkswls123
07/25 5223
2986   ¸Þ½ÃÁöº°ÄªÀ̳×Æ®¿öÅ©¿¡¾ø½À´Ï´Ù[2]     parjo1201
01/10 5223
2985   ¹®Á¦ °Ë»ç ÇØÁÖ¼¼¿ä ¤Ð[5]     benkim
06/09 5198
[1].. 11 [12][13][14][15][16][17][18][19][20]..[161]

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