摘要: 1、windows中切换目录中有空格可以直接切换,但是Linux中需要使用转义例如要切换到/root/src test/命令:cd src\ test使用反斜杠转义后面再加上空格就可以啦2、如果执行$NDK/ndk-build出现/ndk-build: No such file or directo... 阅读全文
posted @ 2015-07-23 18:47 Maydow 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 用javac 生成class文件后。假设class文件在源文件目录的包下,先将编译路径设置成源文件目录即可set classpath=G:\eclipse java\HelloWorld\src然后javah -jni com.example.helloworld.JNITest搞定 阅读全文
posted @ 2015-07-23 18:35 Maydow 阅读(1799) 评论(0) 推荐(0) 编辑
摘要: Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->3.Your algor... 阅读全文
posted @ 2015-07-23 09:26 Maydow 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"((()))... 阅读全文
posted @ 2015-07-23 09:00 Maydow 阅读(121) 评论(0) 推荐(0) 编辑