首先下载glog-0.3.3.tar.gz,解压,直接打开VS工程,我用了动态库,
新建win32 console test
把src\windows包含进来,../Debug/libglog.lib链接进来,这样就ok了。
新建main.cpp:
#define GLOG_NO_ABBREVIATED_SEVERITIES
#include
#include
using...
分类:
其他好文 时间:
2014-07-22 22:59:35
阅读次数:
1075
1. 桥接网卡2. 界面名称:802.11n USB Wireless Lan Card3.
混杂模式:全部允许4. 接入网线打勾5. 确定
分类:
其他好文 时间:
2014-05-05 22:31:52
阅读次数:
360
看着很多朋友都开通了自己的博客,在博客里写写画画蛮有意思,自己也开博了,原来的科学网博客太八卦了,以后长居博客园了。
试着写个数学公式\[a^2+b^2=c^2\]
分类:
其他好文 时间:
2014-05-03 23:09:15
阅读次数:
303
Playback control of audio/video files and streams is managed as a state machine. The following diagram shows the life cycle and the states of a MediaPlayer object driven by the supported playback cont...
分类:
移动开发 时间:
2014-05-03 21:36:21
阅读次数:
568
rsync客户端+inotify-tools1.1.1.12rsync服务器1.1.1.111.1.1.12配置[root@slave3wwwroot]#cat/etc/rsyncd-web.sh
#!/bin/bash
host1=1.1.1.11
src=/web/wwwroot/
dst1=web1
/usr/bin/inotifywait-mrq--timefmt‘%d/%m/%y%H:%M‘--format‘%T%w%f%e‘-emodify,delete,create,attrib..
分类:
其他好文 时间:
2014-05-03 01:08:22
阅读次数:
426
1、导入jar包
2、拷贝修改配置文件struts.xml,web.xml
将struts.xml文件拷贝到src目录下,改为如下配置
xml version= "1.0" encoding = "UTF-8" ?>
DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD
Struts Con...
分类:
其他好文 时间:
2014-05-02 22:45:20
阅读次数:
335
#include #include #include int main(int argc,char
**argv){ FILE *fp_src,*fp_des; char buf[128]; int num; if(argc!=3) {
printf("t...
分类:
其他好文 时间:
2014-05-02 16:06:36
阅读次数:
562
添加 src/*.cpp 到工程, 修改 Directories and Conditionals,
添加 WIN32 UDT_EXPORTSudt.h需要 #pragmalink"Ws2_32.lib"common.cppchannel.cpp#elif
WIN32 --->#elif defin...
分类:
编程语言 时间:
2014-05-02 11:48:57
阅读次数:
471
ElegantWM.WebUI/Application/common/src/Tools.js欢迎大家贡献更多的正则验证规则,目前支持如下:/*****************************************************************//*
VType自定义校验...
分类:
Web程序 时间:
2014-05-02 06:04:30
阅读次数:
346
标准的做法是 把 src 放到 /Android/develop/ 目录下去,然后建立
Android.mk 文件,然后 make modue ...., 但是,这种方式 太麻烦。下面介绍一种方法,可以比较快速的编译 C
库,和上一篇中一样,首先要设置自己的环境变量:cat setenv.shexp...
分类:
移动开发 时间:
2014-05-02 00:19:35
阅读次数:
488