随笔分类 - linux c,c++开发
一个简单的makefile
摘要:#common makefile header LOCAL_INCLUDE := \ -I/xxx/ACE/ACE/ LOCAL_FLAGS := $(LOCAL_INCLUDE) LIBS := -L/xxx/ACE/ACE -lACE CCC :=/usr/bin/g++CC :=/usr/bi
阅读全文
怎样获取本机的ip地址
摘要:首先介绍一下用到的结构体 struct hostent { const char *h_name; // official name of host char **h_aliases; // alias list short h_addrtype; // host address type shor
阅读全文
浙公网安备 33010602011771号