Description: Gets the host name and IP address, useful for beginners, a good use of the method.
To Search:
File list (Check if you may need any files):
实例318——获取主机名和IP地址
.............................\GetHostNameIP
.............................\.............\Debug
.............................\.............\.....\GetHostNameIP.exe
.............................\.............\GetHostNameIP.aps
.............................\.............\GetHostNameIP.clw
.............................\.............\GetHostNameIP.cpp
.............................\.............\GetHostNameIP.dsp
.............................\.............\GetHostNameIP.dsw
.............................\.............\GetHostNameIP.h
.............................\.............\GetHostNameIP.ncb
.............................\.............\GetHostNameIP.opt
.............................\.............\GetHostNameIP.plg
.............................\.............\GetHostNameIP.rc
.............................\.............\GetHostNameIP.sln
.............................\.............\GetHostNameIP.suo
.............................\.............\GetHostNameIP.vcproj
.............................\.............\GetHostNameIP.vcproj.FINALHAO.Administrator.user
.............................\.............\GetHostNameIPDlg.cpp
.............................\.............\GetHostNameIPDlg.h
.............................\.............\ReadMe.txt
.............................\.............\Release
.............................\.............\.......\BuildLog.htm
.............................\.............\.......\GetHostNameIP.exe
.............................\.............\.......\GetHostNameIP.exe.intermediate.manifest
.............................\.............\.......\GetHostNameIP.obj
.............................\.............\.......\GetHostNameIP.res
.............................\.............\.......\GetHostNameIPDlg.obj
.............................\.............\.......\mt.dep
.............................\.............\.......\StdAfx.obj
.............................\.............\.......\vc90.idb
.............................\.............\res
.............................\.............\Resource.h
.............................\.............\res\GetHostNameIP.ico
.............................\.............\...\GetHostNameIP.rc2
.............................\.............\StdAfx.cpp
.............................\.............\StdAfx.h