|
hello world
import re import pprint import sys, urllib import os def main(): f = open('C:\\temp.txt', 'w') code_str = '' for x in range(15): code_str += 'void CStationConfigDlg::OnStnClickedStatic' + str(x+101) +'()\n{\n' code_str += ' m_bStatic[' + str(x) +'] = !m_bStatic[' + str(x) +'];\n' code_str += ' BOOL isCheck = m_bStatic[' + str(x) +'];\n' code_str += ' ON_CLICK_STATIC(m_static[' + str(x) +'], m_staticNum[' + str(x) + '] + 100);\n}\n\n' for x in range(5): code_str += 'void CStationConfigDlg::OnStnClickedStatic' + str(x+151) +'()\n{\n' code_str += ' m_bStatic[' + str(x+15) +'] = !m_bStatic[' + str(x) +'];\n' code_str += ' BOOL isCheck = m_bStatic[' + str(x+15) +'];\n' code_str += ' ON_CLICK_STATIC(m_static[' + str(x+15) +'], m_staticNum[' + str(x+15) + '] + 100);\n}\n\n' for x in range(15): code_str += 'OnStnClickedStatic' + str(x+101) + '();\n' for x in range(5): code_str += 'OnStnClickedStatic' + str(x+151) + '();\n' f.write(code_str) f.close() main() |
|
[求助]哪里有网络攻防的实验平台
WebGoat |
|
[下载]win32函数小结
Excellent work!! thanks very much for share! |
|
[原创]求逆向类工作实习(南京)
瀚海源貌似不收兼职。。。 |
|
笔计本是用无线上网的,虚拟机里的xp怎么弄成上网的啊
主机无线路由上网,虚拟机桥接或NAT共享都可以的,虚拟机不需要连接无线,直接就可以上。 桥接方式下,路由会给虚拟机分配一内网IP,就跟两台主机共享路由上网一样的道理。 如果不能上网,查看下你虚拟机IP是否在同一网段,如果没有,把网卡禁用然后重新启用下就可以了。 ps:设置网络的时候不需要关闭虚拟机。vmware最好去官网下载。 |
|
[原创]我设计的蛋疼招聘试题[附答案哦~]
从第一道题想到了XY染色体,从第二道题想到了很久之前的高数,从第三道题想到了职业道德,从第四道题。。百米跑都是直线吧,超过第二名还是第二名,超过倒数第一可能是观众吧,谈不上名次 |
|
[调查]请大家谈谈什么是驱动开发及其应用
驱动一方面是跟硬件打交道,比如u盘,显卡,网卡什么的。另一方面是过滤驱动,用于某些黑客软件和杀毒软件,防火墙吧。 |
|
[转帖]山东聊城18岁少年编写9000多款软件
小小年纪就懂图像处理与人工智能了,这让广大的研究生同学颜面无存啊~~ |
|
[推荐]计算机网络图书,为什么这本如此经典?
虽然没读过,但Tanenbaum的书绝对错不了。 |
|
[讨论]总觉得最近论坛变成了一个炫耀技术和互相谴责的地方
还没到可以炫耀的地步。。。。 继续学呗,感觉这一年还真是没白来,从刚开始汇编都不太懂到现在都能颤颤巍巍的写个过滤驱动了。 自学才是王道,有时候被大牛们讽刺几句还能成为自己的动力呢! |
|
[原创]关于指针的一点理解
其实没必要把指针弄得这么纠结,总共就三点 1.指针也是一个变量 2.指针的值是一个变量的地址 3.指针的类型是所指向变量的类型 学学编译原理和汇编就会有更深刻的认识,《C语言深度剖析》的确不错,篇幅不长,值得体会几遍。 |
|
不分页的话分段 直接映射的物理内存指的是那些物理内存?
另外补充 4GB,B是字节,也就是有4G个字节那么大。 4G =2的32次方= 4294967296 |
|
不分页的话分段 直接映射的物理内存指的是那些物理内存?
同是菜鸟,第一个问题应该是“是”,第二个4g的地址空间指的是可以访问连续的4294967296个字节,换成二进制就是4G了,取值范围为0x00000000---0xFFFFFFFF,因为目前的机器都是32位的,而32位用来存储一个指针的话最多就是这几个值了。 |
|
|
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值