码迷,mamicode.com
首页 >  
搜索关键字:scala set map list    ( 131561个结果
VC中添加web控件的方法
在VC中使用WebBrowser控件的两方法黄森堂(vcmfc)著ClassWizard方式:1.创建包装类:View->ClassWizard->Add Class->Form a Type Library->C:\winnt\system32\shdocvw.dll->只选择IWebBrowse...
分类:Web程序   时间:2014-05-01 08:15:32    阅读次数:470
简单弹出视图
#import "loveView.h"//点击按钮-(void)buttonclick{UIWindow *window = [UIApplication sharedApplication].keyWindow;loveView *loveview = [[loveView alloc] ini...
分类:其他好文   时间:2014-05-01 08:14:54    阅读次数:310
用基类接品,泛型抽象类,抽象方法实现代码复用
1、定义一个基类接口public interface IBaseEntity{/// 最后操作人编码 string LastOperatorCode { get; set; }/// 最后操作人 string LastOperator { get; set; }/// 最后操作时间 DateT...
分类:其他好文   时间:2014-05-01 08:14:17    阅读次数:267
在ListCtrl控件中设置自定义光标
::SetCursor(::LoadCursor (::AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_BMP_MOUSE)));void CMyListCtrl::OnItemchanged(NMHDR* pNMHDR, LRESULT* pRe...
分类:其他好文   时间:2014-05-01 08:13:36    阅读次数:339
Cheatsheet: 2014 04.01 ~ 04.30
Java 115 Java Interview Questions and Answers – The ULTIMATE List 3 Good Reasons to Avoid Arrays in Java Interfaces Other Top 10 Algorithms for Coding...
分类:其他好文   时间:2014-05-01 08:02:00    阅读次数:318
[leetcode] Minimum Path Sum
思路很简单,就是存储之前运算的结果,然后递归class Solution {public: int** dp; int get_min_sum(vector > &grid, int m, int n) { if (dp[m][n] != -1) ...
分类:其他好文   时间:2014-05-01 07:54:47    阅读次数:330
VC/MFC 在ListCtl 控件中随鼠标移动提示单元格信息
[cpp]view plaincopyBEGIN_MESSAGE_MAP(CTipListCtrl,CListCtrl)//{{AFX_MSG_MAP(CTipListCtrl)ON_WM_MOUSEMOVE()ON_WM_DESTROY()//}}AFX_MSG_MAPEND_MESSAGE_MA...
分类:移动开发   时间:2014-05-01 07:34:41    阅读次数:588
[leetcode]Swap Nodes in Pairs @ Python
原题地址:http://oj.leetcode.com/problems/swap-nodes-in-pairs/题意:将链表中的节点两两交换。Given1->2->3->4, you should return the list as2->1->4->3.解题思路:这题主要涉及到链表的操作,没什么...
分类:编程语言   时间:2014-05-01 06:44:21    阅读次数:339
[leetcode]Remove Nth Node From End of List @ Python
原题地址:http://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/题意:Given a linked list, remove thenthnode from the end of list and return its he...
分类:编程语言   时间:2014-05-01 06:42:15    阅读次数:332
人造奇迹——二进制位运算的运用
最后更新:2014年4月30日1、位运算包括:这个我觉得大家都会我就随便说下:位与&,如 101 & 110 = 100位或|,如 100 | 110 = 110位非~,如 ~101 = 010位异或^,如 101 ^ 110 = 011左移>,如 110 >> 1 = 011其中,负数位运算的时候...
分类:其他好文   时间:2014-05-01 06:23:40    阅读次数:336
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!