本文转载自:http://blog.csdn.net/kevingao/article/details/87210231.Rose如何隐藏类的属性和操作?右击类,选Options->Suppress
Attributes/Suppress Operations2.Rose如何表示类的约束?在工具箱中...
分类:
其他好文 时间:
2014-05-01 07:16:16
阅读次数:
344
[cpp]view plaincopy这里使用消息拦截的方法[cpp]view
plaincopyBOOLPersonDlg::PreTranslateMessage(MSG*pMsg){if(GetDlgItem(IDC_EDIT_USER_ID)->m_hWnd==pMsg->hwnd||Get...
分类:
其他好文 时间:
2014-05-01 07:05:59
阅读次数:
585
第一种方法:高斯模版以下文字内容copy于>,code为自己实现,是win32控制台程序。先举个例子说明一下什么是平滑(smoothing),如下面两幅图所示:可以看到,图3.2比图3.1柔和一些(也模糊一些)。是不是觉得很神奇?其实实现起来很简单。我们将原图中的每一点的灰度和它周围八个点的灰度相加...
分类:
其他好文 时间:
2014-05-01 06:49:28
阅读次数:
397
原题地址: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
以下文字内容copy于>,code为自己实现,是win32控制台程序。镜象(mirror)分水平镜象和垂直镜象两种。图2.2的水平镜象和垂直镜象分别如图2.13和图2.14所示图2.13
图2.2的水平镜象图2.14 图2.2的垂直镜象镜象的变换矩阵很简单。设原图宽为w,高为h,变换后,图的宽和高不...
分类:
其他好文 时间:
2014-05-01 06:31:55
阅读次数:
296
VideoCapture cap(0); if(!cap.isOpened()) return -1;
Mat frame, edges; namedWindow("edges",1); for(;;) { cap >> frame...
分类:
其他好文 时间:
2014-05-01 06:28:49
阅读次数:
333
最后更新: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
#include#include#includeusing namespace std;int
main(){ int n,i; char a[100000]; cin>>a; sort(a,a+strlen(a)); do{
cout<<a<<endl; }while(next_permut...
分类:
其他好文 时间:
2014-05-01 06:20:37
阅读次数:
368
1){print_r($argv);}?>另存为 ./test.php[root@xiuran
test]#php ./test.php xxx fdf3Array( [0] =>test.php [1] => xxx [2] =>
fdf)
分类:
Web程序 时间:
2014-05-01 06:12:29
阅读次数:
379
vector的标准模板是:template > class
T>而普通模板则是template class
T>,如何创建一个模板能包容以上两个形式通用?http://zhidao.baidu.com/question/412950067.html
分类:
编程语言 时间:
2014-05-01 06:06:16
阅读次数:
331