1588, 73/80 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   festal
   [Æß]C++ ¾ð¾î¸¦ ÀÌ¿ëÇÑ ¹ÙÀ̳ʸ® ¼Ò½º

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


#include <stdio.h>
#include <string.h>

int main(void)
{
    char passwd[16] = "abcd"; //passwd°¡ abcd·Î ÁöÁ¤µÇ¾îÀÖ½À´Ï´Ù
    char input[16] = {'0'}; // Æ佺¿öµå ÀԷ¹޴ ĭ À»¸¸µé±âÀ§ÇÑ ÇÔ¼öÀÔ´Ï´Ù
    
    printf("¾ÏÈ£ :"); //¹®ÀÚÃâ·Â
    scanf("%s", input); //À§¿¡ inputÇÔ¼öÀÇ ÀԷ¹޴ÂÇÔ¼ö
    
    if( strncmp(passwd, input , 4) == 0) //passwd¿Í inputÀÌ ¼º¸³ÇÒ°æ¿ì
{
        printf("·Î±×ÀÎ ¼º°ø \n"); //ÀÌ·±½ÄÀ¸·Î °á°ú°¡ ³ª¿À°í
        }
        else   //±× ÀÌ¿ÜÀÇ °æ¿ì
        printf("·Î±×ÀÎ ½ÇÆÐ \n");  //ÀÌ ¹®ÀÚ°¡ Ãâ·ÂµË´Ï´Ù
        
        return 0;
        } //ÇÁ·Î±×·¥ ¸¶Ä§



  Hit : 7674     Date : 2015/09/24 01:09



    
148   ³×Æ®¿öÅ©»óÀÇ »çÀÌÆ® À¯µµ     festal
09/20 8706
147   ÇØÄ¿½ºÄð F.T.Z     festal
09/20 8048
146   ¸®´ª½º °ü·ÃÁú¹® [1]     festal
09/20 7572
145   Ä®¸®¸®´ª½º À¥ÇØÅ· ÀßÇϴºР     festal
09/24 9147
144   ¸®¹ö½º ¿£Áö´Ï¾î¸µ [1]     festal
09/24 8405
143 ºñ¹Ð±ÛÀÔ´Ï´Ù  Å×ÀÏÁî·±³Ê ÇØÅ· »ç°Ç     festal
09/24 0
142   C++ if else ÀÀ¿ë [2]     festal
09/24 8655
  [Æß]C++ ¾ð¾î¸¦ ÀÌ¿ëÇÑ ¹ÙÀ̳ʸ® ¼Ò½º     festal
09/24 7673
140   [Æß]C++ switchÇÔ¼ö¸¦ ÀÌ¿ëÇÑ ´ëÇб³µî·Ï±Ý È®ÀÎÇÁ·Î±×·¥[1]     festal
09/24 8088
139   [Æß] ½Ã°£´ëº° Àλ砠   festal
09/24 8885
138   ÇØÅ· ÇϱâÀü ÇʼöÀûÀÎ °ú¸ñ[2]     festal
09/24 8619
137   ÇØÅ· ÆÀ ¸ðÁý[´ëȸ,º´Æ¯,Ãë¾÷][4]     younglose
10/03 9151
136   »ó¼Ó, ¿À¹ö¶óÀ̵ù, ´ÙÁß»ó¼Ó     tmdrbs9021
10/13 10012
135   [Æß]C Language (swap)[1]     lackhole
10/17 7985
134   ¸®´ª½º[LAMP] À» ¼³¸íÇØÁÖ´Â »çÀÌÆ®ÀÔ´Ï´Ù.[1]     linuxiyka
11/07 9499
133   ÇØÅ· °ü·Ã »çÀÌÆ® ¸ñ·ÏÀÔ´Ï´Ù.[12]     wlwjsan
11/09 25261
132   Ä®¸®¸®´ª½º Æ©Å丮¾ó[4]     skahdi12
12/21 8117
131   ·¹º§¾÷À» À§ÇÑ ½ÃÇè[6]     skahdi12
12/21 8728
130   ¹öÆÛ¿À¹öÇÃ·Î¿ì ¿Õ±âÃÊÆí pdf ÆÄÀÏ ¾îµð¼­ ±¸ÇÒ ¼ö ÀÖ³ª¿ä?     duduwon
02/08 10351
129   ÇØÄ¿½ºÄð °¡ÀÔÇÑ »ç¶÷ÀÔ´Ï´Ù[1]     wldud
02/19 8582
[1]..[71][72] 73 [74][75][76][77][78][79][80]

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