码迷,mamicode.com
首页 >  
搜索关键字:class    ( 183544个结果
【Anagrams】 cpp
题目:Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.代码:class Solution {public: vect...
分类:其他好文   时间:2015-05-11 21:30:23    阅读次数:206
冒泡排序(数组排序不用Array.Sort)
class Program{static void Main(string[] args){//定义一个一维数组int[] arr = {98,1,6,20,16,9};//判断是否发生交换bool b = false;for (int i = 0; i arr[j + 1]){ int tmp.....
分类:编程语言   时间:2015-05-11 21:25:42    阅读次数:180
UITableView基础入门
新建一个Single View Application添加一个空类如下:using System;using UIKit;using Foundation;namespace BasicTable{ public class TableSource : UITableViewSource { st....
分类:其他好文   时间:2015-05-11 21:23:58    阅读次数:113
《大话设计模式》学习笔记9:建造者模式
建造小人示例: 1.Builder: public abstract class PersonBuilder { public abstract void BuildHead(); public abstract void BuildBody(); ...
分类:其他好文   时间:2015-05-11 21:21:44    阅读次数:126
picasso 之Action及其子类ImageViewAction
Action代表的是一个具体的加载类。 里有一个静态内部类 static?class?RequestWeakReference<M>?extends?WeakReference<M>?{ ????final?Action?action; ????public?RequestWeakReference(Action?...
分类:其他好文   时间:2015-05-11 20:16:35    阅读次数:136
C#入口程序解读
namespace CStest { static class Program { /// /// 应用程序的主入口点。 /// [STAThread] static void Main() { //此方法为应用程序启用可视样式。如果控件和操作系统支持视觉样式...
分类:Windows程序   时间:2015-05-11 20:12:48    阅读次数:186
foreach控制循环if判断
resultMap类型为 <tr class="row-evenrow-odd...
分类:其他好文   时间:2015-05-11 20:12:16    阅读次数:180
关于c++中public & private方法调用问题
class IDNoIdentifier{public: IDNoIdentifier(); ~IDNoIdentifier(); typedef vector CvRectVectorType; bool Init(); bool Cleanup(); bool...
分类:编程语言   时间:2015-05-11 20:05:01    阅读次数:166
/*std*/实现mstring类
//实现mstring类,//未实现友元函数+,> 1 #include 2 #include 3 #include 4 #include 5 class mstring{ 6 friend mstring& operator+(const mstring&str1,const ...
分类:其他好文   时间:2015-05-11 19:58:03    阅读次数:116
C#反射
今天稍微看了下反射的东西,虽然还不是很明白,但也写写随笔,加深下印象。 1、反射是什么东西? Reflection,中文翻译为反射。 这是.Net中获取运行时类型信息的方式,.Net的应用程序由几个部分:‘程序集(Assembly)’、‘模块(Module)’、‘类型(class)’组...
分类:Windows程序   时间:2015-05-11 19:57:27    阅读次数:244
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!