码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
android SDK manager 无法获取更新版本列表
1、打开运行Android SDK Manager ,Tool菜单,选择Options,打开设置菜单,勾选“Force https://...sources to be fetched using http://...”,,网址:mirrors.neusoft.edu.cn端口:80然后点Close...
分类:移动开发   时间:2015-07-05 19:46:07    阅读次数:183
C# 调用 Outlook发送邮件实例
添加引用:Microsoft.Office.Interop.Outlookusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net.Mail;using Sys...
分类:Windows程序   时间:2015-07-05 19:42:06    阅读次数:286
直接插入排序与希尔排序
代码是何其的相似啊!!/* Name: InsertSort Copyright: Author: huowolf Date: 05/07/15 16:18 Description: 直接插入排序的实现 */ #include using namespace std; int arr[]={-1,48,62,35,77,55,14,35,98}; void InsertS...
分类:编程语言   时间:2015-07-05 18:37:43    阅读次数:121
HDU 1043 Eight (BFS·八数码·康托展开)
题意  输出八数码问题从给定状态到12345678x的路径 用康托展开将排列对应为整数  即这个排列在所有排列中的字典序  然后就是基础的BFS了 #include using namespace std; const int N = 5e5, M = 9; int x[4] = { -1, 1, 0, 0}; int y[4] = {0, 0, -1, 1}; int fac[] = {1...
分类:其他好文   时间:2015-07-05 18:36:06    阅读次数:136
广州行
来中山大学一周了,陪师兄做一个项目,也没帮上什么忙,多数时间打酱油度过。学习了下c#,在unity里面写了个socket视频传输模块,速度还行,就是图片错误率降不下来。之前做的用android向pc发送视频倒是不卡,看来还有待改善。记录下代码吧。server:using UnityEngine;.....
分类:其他好文   时间:2015-07-05 18:29:20    阅读次数:143
DataReader的用法程序简析
// 2015/07/05using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Data;using Sy...
分类:其他好文   时间:2015-07-05 18:21:08    阅读次数:91
蛇形填数
描述 在n*n方陈里填入1,2,...,n*n,要求填成蛇形。例如n=4时方陈为: 10 11 12 1 9 16 13 2 8 15 14 3 7 6 5 4 输入 直接输入方陈的维数,即n的值。(n输出 输出结果是蛇形方陈。 样例输入 3 样例输出 7 8 1 6 9 2 5 4 3 #include #include #include using names...
分类:其他好文   时间:2015-07-05 16:50:24    阅读次数:223
用异或操作实现的交换函数用以实现数组逆置中需要注意的问题
用元素交换函数实现数组逆置很简单,如下面代码:(数组左右元素交换) #include #include using namespace std; void swap(int &a, int &b) { int tmp = a; a = b; b = tmp; } int main() { int a[5] = { 1, 2, 3, 4, 5 }; int lenth = sizeo...
分类:编程语言   时间:2015-07-05 16:45:10    阅读次数:189
Implement Stack using Queues 用队列实现栈
Implement the following operations of a stack using queues. push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get the top element. empty() -- Retur...
分类:其他好文   时间:2015-07-05 16:44:56    阅读次数:148
POJ 2187 求凸包上最长距离
简单的旋转卡壳题目以每一条边作为基础,找到那个最远的对踵点,计算所有对踵点的点对距离这里求的是距离的平方,所有过程都是int即可 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using names...
分类:其他好文   时间:2015-07-05 16:30:20    阅读次数:110
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!