随笔分类 -  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 阅读全文
posted @ 2016-09-22 15:09 Chen_Arvin 阅读(160) 评论(0) 推荐(0)
怎样获取本机的ip地址
摘要:首先介绍一下用到的结构体 struct hostent { const char *h_name; // official name of host char **h_aliases; // alias list short h_addrtype; // host address type shor 阅读全文
posted @ 2016-09-21 19:45 Chen_Arvin 阅读(700) 评论(0) 推荐(0)