摘要: Java版本/************************************************************************* > File Name: BubbleSort.java > Author: lxm > Create... 阅读全文
posted @ 2016-04-27 19:35 岳麓丹枫 阅读(113) 评论(0) 推荐(0) 编辑
摘要: java版/****************... 阅读全文
posted @ 2016-04-27 19:10 岳麓丹枫 阅读(109) 评论(0) 推荐(0) 编辑
摘要: java版/************************************************ File Name: QuickSort.java Author: lxm Created Time: 2016年04月27日 星期三 18时52分51秒 ... 阅读全文
posted @ 2016-04-27 19:09 岳麓丹枫 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 代码:#include int data[] = {3,1,2,4,7,6,8};void printData(int data[],int length);void chooseSort(int data[]... 阅读全文
posted @ 2016-04-13 16:56 岳麓丹枫 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 代码: #include int data[] = {3,1,2,4,7,6,8};void printData(int data[],int length);void chooseSort(int data[], int length);void swap(int *a, int *b... 阅读全文
posted @ 2016-04-13 16:55 岳麓丹枫 阅读(146) 评论(0) 推荐(0) 编辑
摘要: activity_main.xml activity_second.xml MainActivity.java package com.example.testsharedpreferencesdemo001; im... 阅读全文
posted @ 2016-04-13 16:00 岳麓丹枫 阅读(275) 评论(0) 推荐(0) 编辑
摘要: activity_main.xml activity_second.xml MainActivity.javapackage com.example.testsh... 阅读全文
posted @ 2016-04-13 16:00 岳麓丹枫 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 实测有效的解决方法:通过minicom串口连接板子;sustop adbdstart adbd如果再不行,就在终端输入adb kill-serveradb start-server参考博文: 我自己在操作过程中,... 阅读全文
posted @ 2016-04-12 10:27 岳麓丹枫 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 实测有效的解决方法: 通过minicom串口连接板子; su stop adbd start adbd 如果再不行,就在终端输入 adb kill-server adb start-server 参考博文: 我自己在操作过程中, pc能ping通过手机, 但是a... 阅读全文
posted @ 2016-04-12 10:27 岳麓丹枫 阅读(1541) 评论(0) 推荐(0) 编辑
摘要: /*****************开启Activity 并传递参数*******************/使用am命令启动Activity并传递参数的方法,也能用作C层与Java进行数据传递的一种手段。 比... 阅读全文
posted @ 2016-04-12 10:17 岳麓丹枫 阅读(1526) 评论(0) 推荐(0) 编辑
摘要: /*****************开启Activity 并传递参数*******************/ 使用am命令启动Activity并传递参数的方法,也能用作C层与Java进行数据传递的一种手段。 比如,我们要启动的Acitvity所在的app是net.yurusha... 阅读全文
posted @ 2016-04-12 10:16 岳麓丹枫 阅读(561) 评论(0) 推荐(0) 编辑
摘要: #include #define N 7void insertSort(int a[], int n);int a[] = {1,5,7,3,2,8,6};int main(void){ int i; insertSort(a,N); for(i=0;i=0;--... 阅读全文
posted @ 2016-03-10 20:23 岳麓丹枫 阅读(111) 评论(0) 推荐(0) 编辑
摘要: #include #define N 7vo... 阅读全文
posted @ 2016-03-10 20:23 岳麓丹枫 阅读(71) 评论(0) 推荐(0) 编辑
摘要: #include #define N 7vo... 阅读全文
posted @ 2016-03-10 19:54 岳麓丹枫 阅读(71) 评论(0) 推荐(0) 编辑
摘要: #include #define N 7void chooseSort(int a[], int n);void swap(int a[], int m, int n);int main(void){ int a[] = {1,4,8,3,5,7,2}; int i; ... 阅读全文
posted @ 2016-03-10 19:53 岳麓丹枫 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 星期一编译android并在windows下... 阅读全文
posted @ 2016-03-02 12:50 岳麓丹枫 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 星期一编译android并在windows下利用工具烧写主要过程记录如下在项目根目录执行 ./mkimage.sh 会在rockdev/Image-rk4388中生成8个文件:Boot.img recovery.img …cd RKTOOL/windows cp -R ... 阅读全文
posted @ 2016-03-02 12:49 岳麓丹枫 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 查看Ubuntu的版本信息cat /etc/... 阅读全文
posted @ 2016-02-22 19:25 岳麓丹枫 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 查看Ubuntu的版本信息cat /etc/issuelsb_release -a查看Centos的版本信息cat /etc/centos-releaserpm -q centos-release查看Redhat的版本信息cat /etc/redhat-releaserpm -q ... 阅读全文
posted @ 2016-02-22 19:24 岳麓丹枫 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Problem Description输出n*m的弓型矩阵Input多组测试数据 每组输入2个整数 n和m(不大于20)Output输出n*m的弓型矩阵,要求左上角元素是1,(每个元素占2个位置,靠右)Sample Input4 3Sample Output1 2 3 6 ... 阅读全文
posted @ 2015-10-30 14:12 岳麓丹枫 阅读(483) 评论(0) 推荐(0) 编辑