码迷,mamicode.com
首页 >  
搜索关键字:void    ( 62627个结果
Algorithm Part I:Priority Queues
1.binary heap的实现 BinaryHeap.h #ifndef BINARYHEAP_H #define BINARYHEAP_H class BinaryHeap { public: BinaryHeap(int N); bool isEmpty(); void exchange(int i,int j); ...
分类:其他好文   时间:2014-10-08 16:22:45    阅读次数:260
Element节点输出到System.out
1 protected void writeElementToFile(Element valrespEle) {2 3 try {4 TransformerFactory transformerFactory = Transform...
分类:其他好文   时间:2014-10-08 15:45:05    阅读次数:174
TCL笔试题 将A,B,B,C,D,E,第三个字符不可以是E的所有组合输出;
思路:利用排列思想,进行递归;#include "iostream"using namespace std;char b[10];void pick_one(char a[],int num[],int n){ if(n==6){ b[n]='\0'; co...
分类:其他好文   时间:2014-10-08 15:25:55    阅读次数:212
iOS 去掉UItableview header(footer)view黏性(sticky)?
#pragma mark -- UIScrollViewDelegate 代理 #pragma mark 去掉UItableview headerview黏性(sticky) - (void)scrollViewDidScroll:(UIScrollView *)scrollView {     CGFloat sectionHeaderHeight = 40;     if (s...
分类:移动开发   时间:2014-10-08 15:07:05    阅读次数:473
如何做一个伪彩色图
添加一个panel先private void panel7_Paint(object sender, PaintEventArgs e) { //LinearGradientBrush brush = new LinearGradientBrush(e.ClipR...
分类:其他好文   时间:2014-10-08 14:57:05    阅读次数:538
c/c++的*&调用
#define LOCAL#include#includeusing namespace std;typedef int ElemType;void fun1(ElemType *x){ cout>a; cout<<(*&a)<<endl; fun1(&a); ...
分类:编程语言   时间:2014-10-08 14:42:55    阅读次数:221
【Unity3D自学记录】Unity3D之Url地址重定向(C#)
private string url; // Use this for initialization void Start () { HttpWebRequest myHttpWebRequest = (HttpWebRequest)HttpWebRequest.Create("这里填写Url"); myHttpWebRequest.AllowAutoRed...
分类:其他好文   时间:2014-10-08 13:59:55    阅读次数:143
(转) java 复制文件,不使用输出流复制,高效率,文件通道的方式复制文件
public static void fileChannelCopy(File s, File t) { FileInputStream fi = null; FileOutputStream fo = null; FileChannel in = null; FileCha...
分类:编程语言   时间:2014-10-08 13:58:55    阅读次数:181
Java 实现建造者(Builder)模式
建造者(Builder)模式是创建型模式,创建了一个对外隐藏创建过程的产品,使用组合的方式,由指挥者(Director)来决定建造的流程 public interface Builder { void buildPartA(); void buildPartB(); void buildPartC(); } public class BuilderImpl implements...
分类:编程语言   时间:2014-10-08 13:45:25    阅读次数:224
Java 实现原型(Prototype)模式
public class BaseSpoon implements Cloneable {//spoon 匙, 调羹 String name; public String getName() { return name; } public void setName(String name) { this.name = name; } @Override protec...
分类:编程语言   时间:2014-10-08 13:42:15    阅读次数:175
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!