码迷,mamicode.com
首页 >  
搜索关键字:note to self    ( 21530个结果
一个简易的便签工具:探索窗体之间传值和传引用的方法
简单的便签工具:实现了基于文本的便签信息的浏览,删除,添加。可以查看时间,实时更新数据。这个便签工具完全基于面向对象的编程方式,首先定义Note类,然后使用NoteManager类进行便签的管理。其中的关键就是在NoteManager类中定义list泛型集合。原理上和ArrayList基本是一致的。...
分类:Windows程序   时间:2014-05-12 17:09:08    阅读次数:1093
【LeetCode OJ】Sum Root to Leaf Numbers
# Definition for a binary tree node# class TreeNode:# def __init__(self, x):# self.val = x# self.left = None# self.right ...
分类:其他好文   时间:2014-05-05 22:56:23    阅读次数:419
UIImageView
[self.imageView sizeToFit];//根据图片自动调整大小
分类:其他好文   时间:2014-05-05 21:53:47    阅读次数:188
动态创建Ⅰ
//单独动态创建一个控件; procedure TForm1.BitBtn1Click(Sender: TObject);var myPanel : TPanel;begin myPanel := TPanel.Create(nil);//关于Create(nil)和Create(Self)的区别....
分类:其他好文   时间:2014-05-05 21:50:24    阅读次数:291
Python学习(三):入门篇:Python中怎么编写类
Python中怎么编写类 Last Edit 2013/5/2 先看一个例子: #person.py class person: """class to representaion a person""" def __init__(self,name,age): self.name=name if 0<age<=150: ...
分类:编程语言   时间:2014-05-03 15:48:31    阅读次数:390
Leetcode:Subsets 求数组的所有子集
Given a set of distinct integers, S, return all possible subsets. Note: Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets. For exa...
分类:其他好文   时间:2014-05-03 15:47:53    阅读次数:289
A fine property of the non-empty countable dense-in-self set in the real line
A fine property of the non-empty countable dense-in-self set in the real lineZujin ZhangSchool of Mathematics and Computer Science,GannanNormalUnivers...
分类:其他好文   时间:2014-05-02 17:05:10    阅读次数:504
leetcode: Subsets & Subsets II
SubsetsGiven a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must...
分类:其他好文   时间:2014-05-02 16:39:15    阅读次数:315
Python类的__getitem__和__setitem__特殊方法
class testsetandget: kk = {}; def __getitem__(self, key): return self.kk[key]; def __setitem__(self, key, value): self.kk[key] = value;a = testset...
分类:编程语言   时间:2014-05-01 20:16:13    阅读次数:449
print函数用法
stdio:包含标准输入输出的信息。printf这个函数的具体使用可以man一下得到printf:formted output conversion 函数原型: note:这是一个不定参函数。 函数功能: stdin stdout s...
分类:其他好文   时间:2014-05-01 19:33:29    阅读次数:315
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!