How to get IP Adress with using C++ Language

in #coding6 years ago

"Follow the code and type it in your language compiler like Dev C++ or others like Visual Studio"

#include<conio.h>
#include<stdlib.h> /These are headers files used to get output/

int main()
{
clrscr(); /this is used for clearscreen/

system("C:\\Windows\\System32\\ipconfig");        /*this command is used for get ip adress*/

return 0;

}

Coin Marketplace

STEEM 0.17
TRX 0.13
JST 0.027
BTC 59661.11
ETH 2670.22
USDT 1.00
SBD 2.50