programming-examples/c++/Basic/Get IP Address.cpp

8 lines
149 B
C++
Raw Normal View History

2019-11-18 14:44:36 +01:00
#include<stdlib.h>
int main()
{
system("C:\\Windows\\System32\\ipconfig");
/* ipconfig command to get ip of system */
return 0;
}