会员注册 | 登录 | 微信快捷登录 支付宝快捷登录 QQ登录 微博登录 | 帮助中心 人人文库renrendoc.com美如初恋!
站内搜索 百度文库

热门搜索: 直缝焊接机 矿井提升机 循环球式转向器图纸 机器人手爪发展史 管道机器人dwg 动平衡试验台设计

   首页 人人文库网 > 资源分类 > DOC文档下载

外文翻译---数据库数据类型.doc

  • 资源星级:
  • 资源大小:85.00KB   全文页数:18页
  • 资源格式: DOC        下载权限:注册会员
您还没有登陆,请先登录。登陆后即可下载此文档。
  合作网站登录: 微信快捷登录 支付宝快捷登录   QQ登录   微博登录
友情提示
2:本站资源不支持迅雷下载,请使用浏览器直接下载(不支持QQ浏览器)
3:本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰   

外文翻译---数据库数据类型.doc

1DataTypesThistopicliststhedatatypesmostcommonlyusedintheMicrosoftFoundationClassLibrary.MostofthedatatypesareexactlythesameasthoseintheWindowsSoftwareDevelopmentKitSDK,whileothersareuniquetoMFC.CommonlyusedWindowsSDKandMFCdatatypesareasfollowsBOOLABooleanvalue.BSTRA32bitcharacterpointer.BYTEAn8bitintegerthatisnotsigned.COLORREFA32bitvalueusedasacolorvalue.DWORDA32bitunsignedintegerortheaddressofasegmentanditsassociatedoffset.LONGA32bitsignedinteger.LPARAMA32bitvaluepassedasaparametertoawindowprocedureorcallbackfunction.LPCSTRA32bitpointertoaconstantcharacterstring.LPSTRA32bitpointertoacharacterstring.LPCTSTRA32bitpointertoaconstantcharacterstringthatisportableforUnicodeandDBCS.LPTSTRA32bitpointertoacharacterstringthatisportableforUnicodeandDBCS.LPVOIDA32bitpointertoanunspecifiedtype.LRESULTA32bitvaluereturnedfromawindowprocedureorcallbackfunction.UINTA16bitunsignedintegeronWindowsversions3.0and3.1a32bitunsignedintegeronWin32.WNDPROCA32bitpointertoawindowprocedure.WORDA16bitunsignedinteger.WPARAMAvaluepassedasaparametertoawindowprocedureorcallbackfunction16bitsonWindowsversions3.0and3.132bitsonWin32.DatatypesuniquetotheMicrosoftFoundationClassLibraryincludethefollowingPOSITIONAvalueusedtodenotethepositionofanelementinacollectionusedbyMFCcollectionclasses.LPCRECTA32bitpointertoaconstantnonmodifiableRECTstructure.ClassWizardSpecialFormatCommentSectionsHome|Overview|HowDoI|TutorialThisarticleexplainswhereandhowClassWizardeditsyoursourcefiles.WhenyouaddanewclassusingClassWizard,specialformatcommentsareplacedinyourcodetomarkthesectionsoftheheaderandimplementationfilesthatClassWizardedits.ClassWizardnevermodifiescodethatisoutsidethesecommentedsections.ClassWizardcreatesthefollowingtypesofcommentsinyourcodeMessageMapCommentsVirtualFunctionCommentsDataMapComments2FieldMapCommentsActiveDispatchMapCommentsMessageMapCommentsFormostclasses,therearetworelatedsectionsofcodethatClassWizardeditsthememberfunctiondefinitionsintheclassheaderfileandthemessagemapentriesintheclassimplementationfile.TheClassWizardcommentsintheheaderfilelooklikethis//{{AFX_MSGafx_msgvoidOnAppAbout//}}AFX_MSGTheClassWizardsectionintheimplementationfileissetoffwithcommentsthatlooklikethis//{{AFX_MSG_MAPON_COMMANDID_APP_ABOUT,OnAppAbout//}}AFX_MSG_MAPThenotesintheClassWizardsectionactasplaceholders.ClassWizardremovesthenotefromanyClassWizardsectioninwhichitwritescode.VirtualFunctionCommentsAswithmessagehandlers,ClassWizardwritescodetotwolocationswhenyouuseittooverrideavirtualfunctioninoneofyourclasses.TheClassWizardcommentsintheheaderfilelooklikethefollowingexampleforvirtualfunctionoverrides//{{AFX_VIRTUALvirtualBOOLInitInstance//}}AFX_VIRTUALTheClassWizardsectionintheimplementationfilehasnospecialcomments.Virtualfunctiondefinitionsinthe.cppfilelooklikeotherfunctiondefinitions.DataMapCommentsFordialogboxes,formviews,andrecordviews,ClassWizardcreatesandeditsthreeothersectionsthataremarkedwithspecialformatcommentsMembervariabledeclarationsintheclassheaderfile//{{AFX_DATA//}}AFX_DATAMembervariableinitializationintheclassimplementationfile//{{AFX_DATA_INIT..//}}AFX_DATA_INITDataexchangemacrosintheimplementationfile//{{AFX_DATA_MAP//}}AFX_DATA_MAPFieldMapComments3Forrecordfieldexchange,ClassWizardcreatesandeditsthreeothersectionsthataremarkedwithspecialformatcommentsMembervariabledeclarationsintheclassheaderfile//{{AFX_FIELD//}}AFX_FIELDRecordexchangefunctioncallsintheimplementationfile//{{AFX_FIELD_MAP//}}AFX_FIELD_MAPMembervariableinitializationsintheclassheaderfile//{{AFX_FIELD_INIT//}}AFX_FIELD_INITActiveDispatchMapCommentsForActivemethoddispatch,ClassWizardcreatesandeditsfourothersectionsthataremarkedwithspecialformatcommentsActiveeventsintheclassheaderfile//{{AFX_EVENT//}}AFX_EVENTActiveeventsintheclassimplementationfile//{{AFX_EVENT_MAP//}}AFX_EVENT_MAPAutomationdeclarationsintheclassheaderfile//{{AFX_DISP//}}AFX_DISPAutomationmappingintheclassimplementationfile//{{AFX_DISP_MAP//}}AFX_DISP_MAPFormoreinformationseeWorkingwithDialogBoxData.AFX_MSG_MAPRemarksClassWizardandAppWizardinsertspeciallyformattedcommentdelimitersinyoursourcecodefilestomarktheplacesinyourfilesthatClassWizardcanwriteto.AFX_MSG_MAPisusedtomarkthebeginningandendofmessagemapentriesinaclasssmessagemapinthe.CPPfile//{{AFX_MSG_MAPclassname//}}AFX_MSG_MAPFormoreinformation,seeAFX_MSG.ClassWizardSpecialFormatCommentSectionsHome|Overview|HowDoI|TutorialThisarticleexplainswhereandhowClassWizardeditsyoursourcefiles.WhenyouaddanewclassusingClassWizard,specialformatcommentsareplacedinyour4codetomarkthesectionsoftheheaderandimplementationfilesthatClassWizardedits.ClassWizardnevermodifiescodethatisoutsidethesecommentedsections.ClassWizardcreatesthefollowingtypesofcommentsinyourcodeMessageMapCommentsVirtualFunctionCommentsDataMapCommentsFieldMapCommentsActiveDispatchMapCommentsMessageMapCommentsFormostclasses,therearetworelatedsectionsofcodethatClassWizardeditsthememberfunctiondefinitionsintheclassheaderfileandthemessagemapentriesintheclassimplementationfile.TheClassWizardcommentsintheheaderfilelooklikethis//{{AFX_MSGafx_msgvoidOnAppAbout//}}AFX_MSGTheClassWizardsectionintheimplementationfileissetoffwithcommentsthatlooklikethis//{{AFX_MSG_MAPON_COMMANDID_APP_ABOUT,OnAppAbout//}}AFX_MSG_MAPThenotesintheClassWizardsectionactasplaceholders.ClassWizardremovesthenotefromanyClassWizardsectioninwhichitwritescode.VirtualFunctionCommentsAswithmessagehandlers,ClassWizardwritescodetotwolocationswhenyouuseittooverrideavirtualfunctioninoneofyourclasses.TheClassWizardcommentsintheheaderfilelooklikethefollowingexampleforvirtualfunctionoverrides//{{AFX_VIRTUALvirtualBOOLInitInstance//}}AFX_VIRTUALTheClassWizardsectionintheimplementationfilehasnospecialcomments.Virtualfunctiondefinitionsinthe.cppfilelooklikeotherfunctiondefinitions.DataMapCommentsFordialogboxes,formviews,andrecordviews,ClassWizardcreatesandeditsthreeothersectionsthataremarkedwithspecialformatcommentsMembervariabledeclarationsintheclassheaderfile//{{AFX_DATA//}}AFX_DATAMembervariableinitializationintheclassimplementationfile

注意事项

本文(外文翻译---数据库数据类型.doc)为本站会员(英文资料库)主动上传,人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知人人文库网(发送邮件至renrendoc@163.com或直接QQ联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。

copyright@ 2015-2017 人人文库网网站版权所有
苏ICP备12009002号-5