22019, 1/1101 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   ÇØÄ¿ Hades
   ping ÇÁ·Î±×·¥

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


#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
  
  char i[30];
  char a[3];
  
  printf(":");
  scanf("%s",&i);
  sprintf(a,"ping %s",i);
  
  
  
  
  
  system("PAUSE");        
  return 0;
}

ÀÌ ÇÁ·Î±×·¥ ¹®Á¦°¡ ¹¹³ª¿ä???

  Hit : 9284     Date : 2013/01/18 08:29



    
U_SoRang ¾î´À source codeÀÇ ÀϺÎÀÔ´Ï´Ù.
¹¹°¡ ´Ù¸¥Áö ºñ±³ÇØ º¸¼¼¿ä.
=============================================================
.
.
printf("Path : "); gets(makePathAndName);
.
.
printf("Write down file size to make. (1 ~ 999) : "); scanf("%d", &makingFileSize);
.
.
sprintf(systemCommand, "fsutil file createnew %s %0.f", makingPathAndName, makingFileSize);
system(systemCommand);
2013/01/19  
web_ahnmo #include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
char ip[16] = {0,};
char command[21] = {0,};

printf(":");
scanf("%s", ip);

sprintf(command, "ping %s", ip);

system(command);

system("pause");
return 0;
}
2013/01/19