自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 短信发送器

深夜失眠,结合昨天学习内容写的一个短信发送器。涉及到的内容包括:点击事件,文本框内容提取,发送短信。MainActivity.javapackage com.example.smsmanager;import android.support.v7.app.ActionBarActivity;import android.telephony.gsm.SmsManager;impo

2015-12-05 02:18:55 275

原创 Day(一)

四种点击事件(拨号器)今天写了个拨号器,其中要从文本框中读取输入的号码以及点击事件。以下是四种点击事件的处理方法。NO.1这一种是比较常规的很容易理解的。MainActivity.javapackage com.example.phonecall;import android.content.Intent;import android.net.Uri;impor

2015-12-04 20:28:12 246

原创 深搜

# include int a[100];int sum = 0;int n;int flag = 0;int num = 0, m;int Deepfind(int sum, int num){ if (sum == m) { flag = 1; } else { for (int i = 0 ; i

2015-10-18 02:24:34 273

原创 全排列

# include # include char pre[100];char ch[100];int used[500];void permutation(int pos, int n){ if ( pos == n) { for (int i = 0; i < n ; ++i) printf("%c",pre[i]);

2015-10-18 02:23:08 226

原创 迷宫最短

# include #include char a[5][5];int b[5][5];int x = 0, y = 0;int flag = 0, step = 0 ,num = 0;int min(int num, int step){ return num > step ? step : num;}void dfs(int x, int y, int step)

2015-10-18 02:22:21 475

原创 二叉树(静态)(遍历)

# include # include struct BTNode{ char data; struct BTNode * pLchild; struct BTNode * pRchild;};struct BTNode * CreateBTree(void);void PreTraverseBTree(struct BTNode *pT);void In

2015-07-23 11:56:45 437 1

原创 快速排序

# include void swap(int a[],int l, int r){ int temp; temp = a[l]; a[l] = a[r]; a[r] = temp; }void Quicksort(int a[],int begin, int end){ if (begin >= end) r

2015-07-21 17:17:02 236

原创 分治(归并排序)

# include void megar1(int ch1[],int ch2 [], int first , int mid, int last ){ int i, j, k; i = k = first; j = mid + 1; while (i != mid + 1 && j != last + 1) { if (ch1[i]

2015-07-20 19:01:02 307

原创 栈的程序演示

# include # include typedef struct Node{    int data;    struct Node *next;}NODE, * PNODE;typedef struct Stack{    PNODE pTop;    PNODE pBottom;}STACK, * PSTACK;voi

2015-07-15 19:22:16 380

原创 c语言单向列表的创建、插入、删除、排序和遍历。。。

#include #include struct Node//定义链表{ int data; struct Node* next;};struct Node* creat(struct Node *head)//创建链表{ struct Node *p1, *p2; p2 = p1 =(struct Node*) malloc (sizeof (str

2015-07-15 19:19:51 1474

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除