金山编程规范精选
金山编程规范精选.pdf 行业本土老大编程规范,代码之美!
MFC 数据类型转换
1、CString to char*
经过类型强制转换,可以将 CString 类型转换成 char*,例如:
CString cStr = "Hello,world!";
char* zStr = (char*)(LPCTSTR)cStr;
2、char* to CString
char*类型可以直接给 CString,完成自动转换,
例如:
char* zStr = "Hello,world!";
CString cStr = zStr;
3、CString to LPCSTR
将 CString 转换成 LPCSTR,需要获得 CString 的长度,例如:
CString cStr = _T("Hello,world!");
int nLen = cStr.GetLength();
LPCSTR lpszBuf = cStr.GetBuffer(nLen);
ER图 Diagram Designer
Diagram Designer
Description
Diagram Designer is a tool for creating flowcharts, diagrams or slide shows (eg. for an overhead projector). The program excels at creation of technical diagrams and allows for easy editing and object manipulation.
Features (partial list)
Freeware! (user supported) - as of this date
Customizable templates which house often used pictures, symbols or objects
Group objects together as a single entity
Spellchecker for text used in diagrams
Automatic links between objects - move one object, the other is adjusted
Import objects or export diagrams as:
□ BMP Windows® Bitmap
□ CUR Windows® Cursor
□ EMF Windows® Enhanced MetaFile
□ GIF Graphics Interchange Format
□ ICO Windows® Icon
□ JP2 JPEG 2000 (requires Image Analyzer installed)
□ JPG Joint Picture Expert Group
□ MNG Multiple-image Network Graphics
□ PCX Zsoft Paintbrush
□ PNG Portable Network Graphics
□ TIF TIFF image (requires Image Analyzer installed)
□ WMF Windows® MetaFile
use multiple layers and pages in a single diagram
Slide show viewer (view sequential pages)
Preview mode
Optional snap mode with visible or invisible grid
Graph plotter to plot mathematical expressions
Compressed file format for minimizing drawing file size
Advanced pocket calculator with equation solver
MeeSoft Image Analyzer integration for bitmap image editing and extended file format support - separate package
ChromeCacheView
ChromeCacheView v1.25
Copyright (c) 2008 - 2010 Nir Sofer
Web site: http://www.nirsoft.net
Description
ChromeCacheView is a small utility that reads the cache folder of Google Chrome Web browser, and displays the list of all files currently stored in the cache. For each cache file, the following information is displayed: URL, Content type, File size, Last accessed time, Expiration time, Server name, Server response, and more.
You can easily select one or more items from the cache list, and then extract the files to another folder, or copy the URLs list to the clipboard.
The Location Of Chrome Cache Folder
The cache folder of Google Chrome is located under [User Profile]\Local Settings\Application Data\Google\Chrome\User Data\Default\Cache
Using ChromeCacheView
ChromeCacheView doesn't require any installation process or additional DLL files. Simply copy the executable file (ChromeCacheView.exe) to any folder you like, and run it.
After you run it, the main window displays the list of files currently stored in the cache of the default Google Chrome user.
You can select one or more cache files from the list, and than export the list into text/html/xml file ('Save Selected Items' option), copy the URL list to the clipboard (Ctrl+U), copy the entire table of cache files (Ctrl+C), and then paste it to Excel or to OpenOffice spreadsheet. You can also extract the actual files from the cache, and save them into another folder, You can do that by using the 'Copy Selected Cache Files To' option (F4).
Versions History
Version 1.25:
Added /copycache command-line option, which allows you to extract files from the cache without displaying any user interface.
Also added /CopyFilesFolder, /UseWebSiteDirStructure, and /NewNameIfExist command-line options, for using with the /copycache command-line option.
Version 1.22:
Made a small fix that hopefully will solve a crash problem that some users experienced.
Version 1.21:
Fixed bug: ChromeCacheView failed to copy ca
IIS 5.1 for windows xp sp3
安装方法:
控制面板—
添加或删除程序—
添加删除windows组件—
Internet信息服务(打钩)—
下一步—
弹出对话框—
浏览—
选择解压目录—
等待完成。
Visual_Studio.NET相关词汇中英翻译
abstract class 抽象类
accelerator 快捷键
accelerator mapping 快捷键映射
accelerator table 快捷键对应表
access modifier 访问修饰符
Access Pack 访问包
access specifier 访问说明符
access violation 访问冲突
accessibility 辅助功能
accessibility domain 可访问域
Accessibility Options 辅助功能选项
accessor 访问器
action 操作
Active Directory hierarchy Active Directory 层次结构
active document 活动文档
Active Document Containment 活动文档包容
active end 活动结尾
active object 活动对象
active point 活动点
Active Template Library 活动模板库
ActiveX Component ActiveX 组件
ActiveX Control ActiveX 控件
ActiveX control container ActiveX 控件容器
ActiveX Control Interface Wizard ActiveX 控件接口向导
ActiveX Control Test Container ActiveX 控件测试容器
ActiveX Designer ActiveX 设计器
ActiveX Document Migration Wizard ActiveX 文档移植向导
ActiveX-enabled 支持 ActiveX 的
Add key/ Multiply key/ Substract key/ Devide key 加号键/ 乘号键/ 减号键/ 除号键
Add-In 外接程序
Address Book 通讯簿
address space 地址空间
Administrator Mode 管理员模式
advise sink 通知接收
aggregate 聚合
Airbrush 喷枪
All Tables 所有表
allocation hook 分配挂钩
Alternate text "替换文字,备用文本"
Always On Top 总在最前面
ambient 环境
ambiguous 不明确
ampersand “&”符
ampersand (&) “and”符 (&)
anchor 锚定 (v.);定位点 (n.)
animation control 动画控件
apartment-model threading 单元模型线程
application framework 应用程序框架
Application Wizard 应用程序向导
Apply Now 立即应用
apply to similar 应用到相似项
argument 参数
Arrange Tables 排列表
array initializer 数组初始值设定项
array rank 数组秩
arrow cap 箭头帽
ARROW key 箭头键
ArrowHourGlass 箭头沙漏
ArrowQuestion 箭头问号
article family 文章族
assembly 程序集;汇编
assembly manifest 程序集清单
assert 断言
assign 分配
associate 关联
asterisk (""*"") 星号(“*”)
asynchronous moniker 异步名字对象
asynchronous peek operation 异步查看操作
ATL Object Wizard ATL 对象向导
atomic operation 原子操作
attached table 附加表
attribute 属性
Attributed Component Wizard 属性化组件向导
Attributed Programming 属性化编程
Attributes Property Attributes 属性
Authentication 身份验证
authorable 可创作(的)
Auto completion for commands 自动完成命令
Auto Increment 自动增加
Auto Syntax Check 自动语法校验
Automatic 自动
automation 自动化
automation-enabled 启用自动化
VS2005打开VS2008
把VS2005项目用VS2008打开后,有些人不可用,其实是 Web Config,中的设置有错误,在VS2008中修改一下就可以用了,这里提醒一下,VS2008用的是3.5的开发包,所以就会产生错误,其实我们升级一下就可以了,不过大部分从VS2005移植项目到VS2008还是可以用的!
但是VS2005无法打开VS2008,需要修改很多东西,该程序免去了繁琐的修改。
C#记事本_高仿真Windows记事本程序
C# 高仿真Windows记事本程序,你能看去它与系统自带记事本的不同吗?简直太像了,菜单什么的都一样。源代码运行于VS2008,学习C#的朋友值得研究一下这款小程序。
如果你的版本低,请下载VS2008toVS2005进行转换
监控软件安装Total_Uninstall5
Total Uninstall 能帮你监视软件安装的所有过程,记录下它对系统所做的任何改变,比如:添加的文件、对注册表和系统文件的修改,并制作成安装前和安装后的快照。卸载软件 时,不需要使用卸载程序,直接通过Total Uninstall便可将其完全地清除出系统,不留下任何痕迹。从而保证了系统的清洁。
C语言库函数手册CHM版
函数名: abort
功 能: 异常终止一个进程
用 法: void abort(void);
程序例:
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
printf("Calling abort()\n");
abort();
return 0; /* This is never reached */
}
函数名: abs
功 能: 求整数的绝对值
用 法: int abs(int i);
程序例:
#include <stdio.h>
#include <math.h>
int main(void)
{
int number = -1234;
printf("number: %d absolute value: %d\n", number, abs(number));
return 0;
}
Nero注册机_[Nero9.2.6.0.完全注册版].keymaker
Nero 9
nero 9 HD
Nero move it
nero In-cd reader
activation(Nero9.0)
activation(Nero9.0 HD)
activation(Nero move it)
·
·
·
·
·
·
·
masm v8汇编编辑器
MASM最新版本,此8.0的升级变化非常大,我在制作新的语法文件过程中发现MASMv8.0相对于7.0升级方面做了非常大的更新,API函数新增6608个(包括UNIcode函数),新增247个结构类型,新增516个常数,包括以前不支持的一些控件风格现在都添加了,尤其在API函数方面,更新可说是巨大,添加了一些新的API模块,如MSI/SQL接口函数,其中有近1/3都是以前的函数的UNIcode函数,还优化了LIB,虽然编译器与链接器没有更新,但是MASM可以说是越来越完善,MASMv8.0更是为在Windows后述版本中开发程序打下良好的基础,我相信,只要没有停止更新,在Windows开发平台上,MASM将与通行世界的ANSI C一样是一个永恒的开发工具。
masmplus v1.2
MASMPlus 是一个使用纯 MASM 编写的 MASM Integrate Develop Environment.
专业汇编程序员90%均使用 MASM,为它开发的编辑器非常多,其中最有名的是 RadASM, 而现在,真正能与 RadASM 同级的就只有 MASMPlus 了,理由是只有 MASMPlus 与 RadASM 一样编写了自定义编辑类,并且比它更出色,只有自已的类,才能在各方面尽情发挥,在量身定制方面,MASMPlus 更是费尽心思,笔者长时间从事工业硬件汇编程序编写,认识到对于专业汇编程序员而言,最重要的,就是代码书写,不需要华而不实的界面,不需要莫名其妙的功能,不需要可有可无的设置,更不需要所谓的封装,总的来说, MASMPlus 是半自动,这也是 MASMPlus 没有取名为 MASMIDE 的主要原因.
MASMPlus 工程模式极为简单,简单但并不简陋,这种小巧方便的工程管理方式,能同时打开任意多个单个文件/工程,各自编译/链接互不相关,工程单个文件属性设置,带来的,是真正的多工程,一个工程,可以包含多个主程序,多个动态库,多个静态库,组的设置,各库之间关键字搜索相互独立,共享文件全局搜索,并可实现简单方便的混合编程.你需要做的只是稍稍设置参数,按 Ctrl+1 即可一步完成所有操作.MASMPlus 还可以导出工程为模板,可以完全用于工程的发布,因为导出时,MASMPlus 会将工程中所有文件全部打包进apt中,而这个文件交给其它人时,可以直接使用它创建新工程而不会破坏apt.同时,MASMPlus 的工程模块拥有独一无二的功能:保存附加信息,它在每次关闭工程时将工程所有文件的撤消缓冲保存到工程app中,用户在下次重新打开时可以继续上一次的撤消,如果中间没有使用其它工具编辑文件, MASMPlus 可以记录整个软件的编写过程.详细请参考 "使用工程" 一节.
代码辅助书写方面,MASMPlus 可以说是做得最好的一个编辑器,函数原型参数突出显示,标志参数自动列出,全局搜索可以搜索整个工程,全部关键字列出慢慢浏览,自动大小写支持全部关键字,结构类型变量成员列出,鼠标提示关键字信息,同时,输入与列出遵守一定的编程规则,不会误导使用者,详细请参考 "语法提示规则" 一节.
查找方面 MASMPlus 支持正则表达式查找与替换,这是一个自主开发的正则表达式引擎,同时它的库已带入 MASMPlus,MASMPlus 使用者可直接在自己的程序中使用,MASMPlus 的正则表达式语法与通用的略有不同,详细使用及规则请参考 "正则表达式" 一节.
同时,MASMPlus 支持插件开发,通过装植插件,可以扩展程序功能,尤其是窗口类插件,这种创新的插件模型,可以让 MASMPlus 扩展成为任何编辑器,随着之后插件的增加,使用者会发现 MASMPlus 能打开各种各样的文件,如果您是专业程序员,想为 MASMPlus 编写插件,请参考 "PDK 开发手册" 一章.同时,官方已经预留了二个插件,一个是 "资源编辑器" ,另一个是 "调试器" ,不久这两个插件均会开发并内置在 MASMPlus 下述版本中.