Jose Velasquez

Generation

generate functionSun, 18 Jun 2023

programa que haga un ping y diga hola si el pin funciona

#include <iostream> using namespace std; int main() { char hostname[100]; cout << "enter host name" << endl; cin.getline(hostname, 100); if(ping(hostname)) cout << "ping ok" << endl; else cout << "ping not ok" << endl; return 0; }

Questions about programming?Chat with your personal AI assistant