这一段主要是来自于: http://www.microhowto.info/howto/get_the_ip_address_of_a_network_interface_in_c_using_siocgifaddr.htmlSuppose that you wish to display the IPv4 address of a network interface. The variable if_name points to a null-terminated string containing the name of the interface (for...【阅读全文】
class A {};class B :public A {};class C :public A {};class D :public B, public C{};int main(){ D d ; A* pd= &d; //*****编译出错 return 0;}如何修改!!!!!!!!!!!!class A {};class B :virtual public A&nb...【阅读全文】