上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
摘要: //代码1代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#include<algorithm>#include<vector>#include<iostream>classPrintInt{public:voi... 阅读全文
posted @ 2010-03-17 14:29 独奏者 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 光看名字就已经乱的不行了..我现在总结出来..每种的写法...代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//数组voidtest(){//数组inta[100];//指针数组,包含100个int*的数组int*a[100];//数组指针,指向... 阅读全文
posted @ 2010-03-15 03:31 独奏者 阅读(626) 评论(1) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//二叉链表节点类型typedefstructBiTnode{intdata;structBiTnode*lchild,*rchild;}BiTnode,*BiTree;//二叉树的先序遍历,先访问根... 阅读全文
posted @ 2010-03-14 23:58 独奏者 阅读(589) 评论(0) 推荐(0) 编辑
摘要: 本文讲述在普通对话框上添加标签的简单示例第一步拖一个Tab Control到对话框上并添加变量m_tabCtrl;第二步添加两个对话框资源IDD_DIALOG1,IDD_DIALOG2并将style为Child, Border为None,再分别为其添加对应的基于CDialog m_page1,m_page2第三步在OnInitDialog()添加如下代码  代码Code highlighting ... 阅读全文
posted @ 2010-03-14 01:01 独奏者 阅读(47145) 评论(0) 推荐(1) 编辑
摘要: 本文转自:http://hi.baidu.com/pro_hc/blog/item/8dcc6aee41375de4cf1b3eb8.html 首先 效果如图:第一步,打开资源视图,为属性表单添加属性页资源,如图:需要几个属性页就添加几个(同一个属性表单的属性页资源大小要一样,也就说统一选择Large 或Small等)第二步,为刚才添加的属性页资源添加对应类,这里,属性页跟一般对话框一样,如图:第... 阅读全文
posted @ 2010-03-13 21:24 独奏者 阅读(1329) 评论(0) 推荐(0) 编辑
摘要: 1:replace 函数第一个参数你的字符串,第二个参数你想替换的部分,第三个参数你要替换成什么select replace('lihan','a','b') -----------------------------lihbn(所影响的行数为 1 行)=========================================================2:substring函数第一个... 阅读全文
posted @ 2010-03-13 21:11 独奏者 阅读(225) 评论(0) 推荐(0) 编辑
摘要: [hjp2=500,375,true]http://player.youku.com/player.php/sid/XMTU2NDUwNjM2/v.swf[/hjp2] 阅读全文
posted @ 2010-03-13 03:21 独奏者 阅读(147) 评论(0) 推荐(0) 编辑
摘要: [hjp2=400,300,true]http://player.youku.com/player.php/sid/XMjE1ODU2MDg=/v.swf[/hjp2] 阅读全文
posted @ 2010-03-13 03:06 独奏者 阅读(131) 评论(0) 推荐(0) 编辑
摘要: [hjp2=400,300,true]http://player.youku.com/player.php/sid/XMTAxMzAwOTU2/v.swf[/hjp2] 阅读全文
posted @ 2010-03-13 03:00 独奏者 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 要对绝对地址0x100000赋值,我们可以用 (unsigned int*)0x100000 = 1234; 那么要是想让程序跳转到绝对地址是0x100000去执行,应该怎么做? *((void (*)( ))0x100000 ) ( ); 首先要将0x100000强制转换成函数指针,即: (void (*)())0x100000 然后再调用它: *((void (*)())0x100000)()... 阅读全文
posted @ 2010-03-13 01:08 独奏者 阅读(255) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页