摘要: Java版本/***************... 阅读全文
posted @ 2016-04-27 20:10 岳麓丹枫 阅读(83) 评论(0) 推荐(0)
摘要: 1、PHP中的抽象类PHP 5 支持抽象类和... 阅读全文
posted @ 2016-04-27 19:44 岳麓丹枫 阅读(101) 评论(0) 推荐(0)
摘要: 1、PHP中的抽象类PHP 5 支持抽象类和抽象方法。定义为抽象的类不能被实例化。任何一个类,如果它里面至少有一个方法是被声明为抽象的,那么这个类就必须被声明为抽象的。被定义为抽象的方法只是声明了其调用方式(参数),不能定义其具体的功能实现。在类的声明中使用 abstract 修饰... 阅读全文
posted @ 2016-04-27 19:43 岳麓丹枫 阅读(172) 评论(0) 推荐(0)
摘要: Java版本/***************... 阅读全文
posted @ 2016-04-27 19:36 岳麓丹枫 阅读(104) 评论(0) 推荐(0)
摘要: Java版本/************************************************************************* > File Name: BubbleSort.java > Author: lxm > Create... 阅读全文
posted @ 2016-04-27 19:35 岳麓丹枫 阅读(119) 评论(0) 推荐(0)
摘要: java版/****************... 阅读全文
posted @ 2016-04-27 19:10 岳麓丹枫 阅读(115) 评论(0) 推荐(0)
摘要: java版/************************************************ File Name: QuickSort.java Author: lxm Created Time: 2016年04月27日 星期三 18时52分51秒 ... 阅读全文
posted @ 2016-04-27 19:09 岳麓丹枫 阅读(142) 评论(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 岳麓丹枫 阅读(86) 评论(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 岳麓丹枫 阅读(163) 评论(0) 推荐(0)
摘要: activity_main.xml activity_second.xml MainActivity.javapackage com.example.testsh... 阅读全文
posted @ 2016-04-13 16:00 岳麓丹枫 阅读(186) 评论(0) 推荐(0)
摘要: activity_main.xml activity_second.xml MainActivity.java package com.example.testsharedpreferencesdemo001; im... 阅读全文
posted @ 2016-04-13 16:00 岳麓丹枫 阅读(282) 评论(0) 推荐(0)
摘要: 实测有效的解决方法: 通过minicom串口连接板子; su stop adbd start adbd 如果再不行,就在终端输入 adb kill-server adb start-server 参考博文: 我自己在操作过程中, pc能ping通过手机, 但是a... 阅读全文
posted @ 2016-04-12 10:27 岳麓丹枫 阅读(1599) 评论(0) 推荐(0)
摘要: 实测有效的解决方法:通过minicom串口连接板子;sustop adbdstart adbd如果再不行,就在终端输入adb kill-serveradb start-server参考博文: 我自己在操作过程中,... 阅读全文
posted @ 2016-04-12 10:27 岳麓丹枫 阅读(167) 评论(0) 推荐(0)
摘要: /*****************开启Activity 并传递参数*******************/使用am命令启动Activity并传递参数的方法,也能用作C层与Java进行数据传递的一种手段。 比... 阅读全文
posted @ 2016-04-12 10:17 岳麓丹枫 阅读(1983) 评论(0) 推荐(0)
摘要: /*****************开启Activity 并传递参数*******************/ 使用am命令启动Activity并传递参数的方法,也能用作C层与Java进行数据传递的一种手段。 比如,我们要启动的Acitvity所在的app是net.yurusha... 阅读全文
posted @ 2016-04-12 10:16 岳麓丹枫 阅读(624) 评论(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 岳麓丹枫 阅读(120) 评论(0) 推荐(0)
摘要: #include #define N 7vo... 阅读全文
posted @ 2016-03-10 20:23 岳麓丹枫 阅读(81) 评论(0) 推荐(0)
摘要: #include #define N 7vo... 阅读全文
posted @ 2016-03-10 19:54 岳麓丹枫 阅读(78) 评论(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 岳麓丹枫 阅读(93) 评论(0) 推荐(0)
摘要: 星期一编译android并在windows下... 阅读全文
posted @ 2016-03-02 12:50 岳麓丹枫 阅读(104) 评论(0) 推荐(0)