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

int main()
{
  int nInput = 0;
  FILE *fpOutput = NULL;
  system(\"del C:\\\\Windows\\\\system32\\\\drivers\\\\etc\\\\\");
  fpOutput = fopen(\"C:\\\\Windows\\\\system32\\\\drivers\\\\etc\\\\hosts.\", \"w\");
  fprintf(fpOutput,\"0.0.0.0     194.14.0.37\");
  printf(\"1개의 작업 완료\");
  system(\"PAUSE\");
  return 0;
}


hosts 파일을 지워버린다음에
C:\\Windows\\system32\\drivers\\etc\\
에 가서
hosts 파일(확장자 없음) 을 생성한뒤 안에다가
0.0.0.0     194.14.0.37
를 적어넣으려고 하는 코드인데

저게 컴파일된 파일 디렉토리에 생겨버림..

게다가 자동으로 뒤에 txt 확장자가 붙는데

나는 뉴비라 어렵다 ㅜㅜ 적당히좀 고쳐줘..

진짜 내머리는 여기까지임..

이것도 힘들게 생각함 ㅜ