1 CUR_DIR = $(shell pwd) 2 3 CFLAGS = -g -Wall 4 GCC = gcc 5 GXX = g++ 6 7 TARGET = exe.out 8 9 SRC_FILES += $(shell find $(CUR_DIR) -name *.cc) \...
分类:
其他好文 时间:
2014-07-12 00:57:34
阅读次数:
216
第 1 部分http://www.ibm.com/search/csass/search/?q=%E4%BA%8B%E5%8A%A1&sn=dw&lang=zh&cc=CN&en=utf&hpp=20&dws=cndw&lo=zh概述Spring 最成功,最吸引人的地方莫过于轻量级的声明式事务管理,...
分类:
编程语言 时间:
2014-07-11 23:48:51
阅读次数:
532
When I try openingEclipse, a pop-up dialog states:Failed to load the JNI shared library "C:/JDK/bin/client/jvm.dll"`.Following this, Eclipse force clo...
分类:
系统相关 时间:
2014-07-11 11:45:13
阅读次数:
238
转自http://blog.csdn.net/lucien_cc/article/details/12688477IPv6 SpecRFC 2460 : Internet Protocol, Version 6 (IPv6) SpecificationRFC 5095: Deprecation of...
分类:
其他好文 时间:
2014-07-11 09:08:48
阅读次数:
277
用邻接矩阵写的。自己慢慢理解吧#include #include using namespace std;#define CC(c) memset(c, 0, sizeof(c))const int maxn=5000;int iscut[maxn], g[maxn][maxn], low[maxn...
分类:
其他好文 时间:
2014-07-11 08:45:04
阅读次数:
206
在进行JNI调用的时候,是由java的本地接口调用本地库文件来完成的,但是本地库文件需要放置到指定位置,JNI接口才能调用到,这个路径是由JVM的系统变量“java.library.path”指定的。大家可以将这个变量所指定的路径打印出来 例如:System.getProperty("java.library.path")。 在windows环境下可以看到执行的目录是什么C:/windows/sy...
分类:
其他好文 时间:
2014-07-10 21:10:25
阅读次数:
162
今天添加了发送邮件的功能,总结一下,供以后参考:1、直接使用管道发送邮件echo "hello,this is the content of mail.welcome to www.mzone.cc" | mail -s "Hello from mzone.cc by pipe" admin@qun...
分类:
系统相关 时间:
2014-07-09 14:03:32
阅读次数:
200
之前很傻,,感觉看不到拓扑是啥东西。。脑子太烂了吧。。。今晚上瞄了一眼就懂了。。我就放代码上来就行了。。注释也不打了,,因为太简单了。#include #include using namespace std;#define CC(i) memset(i, 0, sizeof(i))const in...
分类:
其他好文 时间:
2014-07-09 13:33:27
阅读次数:
235
用Eclipse 建立 JNI 的專案, 示範如何在 JAVA 調用 cpp 的函數.
我們將建立一個名稱為 jnidemo的專案, 在主Activity 將調用一個名為libHello.so 的 cpp 函數庫的 getVersion() 的函數, 將其返回字串寫在主Activity 的TextView 上.
首先用Eclipse建立一個新的 Android Activity...
分类:
移动开发 时间:
2014-07-09 09:24:07
阅读次数:
393