1. #include <iostream>
  2. #include <conio.h>
  3. #include <ctype.h>
  4. #include <string>
  5. using namespace std;
  6.  
  7. void main(){
  8.     string IP;
  9.     cout << "What ip do you want to attack?" << endl;
  10.     cin >> IP;
  11.     string attack = "ping" + IP;
  12.     while(7==1){
  13.    
  14.     system(attack);
  15.     system("pause");
  16.    
  17.     }
  18.  
  19. }