码迷,mamicode.com
首页 >  
搜索关键字:uint srcrowpitch    ( 791个结果
添加view类图中的二级菜单
void CFafdsafasdfasfasView::OnLButtonDown(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default CMenu menu; men...
分类:其他好文   时间:2015-07-18 22:37:04    阅读次数:123
onchar
void CMfcView::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)//Windows响应函数 { // TODO: Add your message handler code here and/or call default CClientD.....
分类:其他好文   时间:2015-07-18 16:51:34    阅读次数:112
画图2
void CXuexiView::OnLButtonDown(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default UpdateData(FALSE); m_o...
分类:其他好文   时间:2015-07-17 15:42:36    阅读次数:90
画图方式2
void CXuexiView::OnLButtonDown(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default UpdateData(FALSE); m_o...
分类:其他好文   时间:2015-07-17 13:27:16    阅读次数:115
自定义窗口 mfc
typedef struct _WNDCLASS { UINT style; //制定窗口的类型 WNDPROC lpfnWndProc; int cbClsExtra; //额外的数值 int cbWndExtra; //额外的内存空间...
分类:编程语言   时间:2015-07-16 19:20:06    阅读次数:113
读改善c#代码157个建议:建议7~9
目录:建议7:将0值作为枚举的默认值建议8:避免给枚举类型的元素提供显示的值建议9:习惯运算符重载一、建议7:将0值作为枚举的默认值允许使用的枚举类型有:byte、sbyte、short、ushort、int、uint、long、ulong。不指定值,默认从0开始计数,后面的元素依次+1。enum ...
分类:Windows程序   时间:2015-07-16 08:25:46    阅读次数:186
2 窗口与消息
案例代码#include LRESULT CALLBACK WndProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ HDC hdc; PAINTSTRUCT ps; RECT rect; switch(mess...
分类:其他好文   时间:2015-07-13 16:01:37    阅读次数:117
C time
time_t和struct tm1.time_t为typedef __int64 __time64_t;2.struct timeval{uint tv_sec;uint tv.usec;}----------struct tm{ int tm_sec; /* Seconds. [0-60] (1 ...
分类:其他好文   时间:2015-07-13 11:57:24    阅读次数:105
leetcode191 Number of 1 Bit
题意:一个int类型正整数,求它的二进制形式有多少个1思路:除2递归,可以解出,看了discuss里面有个解更牛,一行结束战斗,是用n&(n-1)再递归,其实并不是很懂怎么想出来这么做的,可能是自己对二进制的处理根本不怎么了解吧,但是这样做结果是对的代码:int hammingWeight(uint...
分类:其他好文   时间:2015-07-12 21:33:41    阅读次数:90
791条   上一页 1 ... 43 44 45 46 47 ... 80 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!