9512.net
甜梦文库
当前位置:首页 >> 学科竞赛 >>

C++源码


C++源码 =>> Part One #if !defined(AFXXFNew_DLGCHANGEPASSWORDXFNew_HXFNew_XFNew_7CFAE742X FNew_B888XFNew_11D7XFNew_A240XFNew_5254AB3E4F7EXFNew_XFNew_INCLUDE DXFNew_) #define AFXXFNew_DLGCHANGEPASSWORDXFNew_HXFNew_XFNew_7CFAE742XFNew_B888 XFNew_11D7XFNew_A240XFNew_5254AB3E4F7EXFNew_XFNew_INCLUDEDXFNew_ #if XFNew_MSCXFNew_VER > 1000 #pragma once #endif XFNew_MSCXFNew_VER > 1000 DlgChangePassWord.h : header file #include "myfunction.h" CDlgChangePassWord dialog class CDlgChangePassWord : public CDialog { Construction public: bool SetTheFocus(); CDlgChangePassWord(CWnd pParent = NULL); standard constructor Dialog Data {{AFXXFNew_DATA(CDlgChangePassWord) enum { IDD = IDDXFNew_DIALOGXFNew_CHANGEPASSWORD }; CEditmXFNew_editMM2; CEditmXFNew_editMM1; }}AFXXFNew_DATA LRunSql mXFNew_runsql; Overrides ClassWizard generated virtual function overrides {{AFXXFNew_VIRTUAL(CDlgChangePassWord) public: virtual BOOL PreTranslateMessage(MSG pMsg); protected: virtual void DoDataExchange(CDataExchange pDX); DDXDDV support }}AFXXFNew_VIRTUAL Implementation protected: Generated message map functions {{AFXXFNew_MSG(CDlgChangePassWord) virtual void OnOK(); virtual BOOL OnInitDialog(); }}AFXXFNew_MSG DECLAREXFNew_MESSAGEXFNew_MAP() };

{{AFXXFNew_INSERTXFNew_LOCATION}} Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif !defined(AFXXFNew_DLGCHANGEPASSWORDXFNew_HXFNew_XFNew_7CFAE 742XFNew_B888XFNew_11D7XFNew_A240XFNew_5254AB3E4F7EXFNew_XFNew_INCL UDEDXFNew_) C++源码 =>> Part Two ScrollPrintDoc.cpp : implementation file #include "stdafx.h" #include "a1.h" #include "ScrollPrintDoc.h" #include "LSingleDocTemplate.h" #ifdef XFNew_DEBUG #define new DEBUGXFNew_NEW #undef THISXFNew_FILE static char THISXFNew_FILE[] = XFNew_XFNew_FILEXFNew_XFNew_; #endif CScrollPrintDoc IMPLEMENTXFNew_DYNCREATE(CScrollPrintDoc, CDocument) CScrollPrintDoc::CScrollPrintDoc() { this->SetTitle("打印"); } BOOL CScrollPrintDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; return TRUE; } CScrollPrintDoc::~CScrollPrintDoc() {TRACE("~CScrollPrintDoc()\n"); LSingleDocTemplatepDocTemp=(LSingleDocTemplate)mXFNew_pDocTemplate; pDocTemp->mXFNew_frame=NULL; } BEGINXFNew_MESSAGEXFNew_MAP(CScrollPrintDoc, CDocument) {{AFXXFNew_MSGXFNew_MAP(CScrollPrintDoc) NOTE - the ClassWizard will add and remove mapping macros here. }}AFXXFNew_MSGXFNew_MAP ENDXFNew_MESSAGEXFNew_MAP() CScrollPrintDoc diagnostics #ifdef XFNew_DEBUG void CScrollPrintDoc::AssertValid() const { CDocument::AssertValid();

} void CScrollPrintDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif XFNew_DEBUG CScrollPrintDoc serialization void CScrollPrintDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { TODO: add storing code here } else { TODO: add loading code here } } CScrollPrintDoc commands C++源码 =>> Part Three Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ NOTE: Do not modify the contents of this file. If this class is regenerated by Microsoft Visual C++, your modifications will be overwritten. #include "stdafx.h" #include "vcintersection.h" CVcIntersection properties CVcIntersection operations BOOL CVcIntersection::GetAuto() { BOOL result; InvokeHelper(0x1, DISPATCHXFNew_PROPERTYGET, VTXFNew_BOOL, (void)&result, NULL); return result; } void CVcIntersection::SetAuto(BOOL bNewValue) { static BYTE parms[] = VTSXFNew_BOOL; InvokeHelper(0x1, DISPATCHXFNew_PROPERTYPUT, VTXFNew_EMPTY, NULL, parms, bNewValue); } double CVcIntersection::GetPoint() {

double result; InvokeHelper(0x2, DISPATCHXFNew_PROPERTYGET, VTXFNew_R8, (void)&result, NULL); return result; } void CVcIntersection::SetPoint(double newValue) { static BYTE parms[] = VTSXFNew_R8; InvokeHelper(0x2, DISPATCHXFNew_PROPERTYPUT, VTXFNew_EMPTY, NULL, parms, newValue); } long CVcIntersection::GetAxisID() { long result; InvokeHelper(0x3, DISPATCHXFNew_PROPERTYGET, VTXFNew_I4, (void)&result, NULL); return result; } short CVcIntersection::GetIndex() { short result; InvokeHelper(0x4, DISPATCHXFNew_PROPERTYGET, VTXFNew_I2, (void)&result, NULL); return result; } BOOL CVcIntersection::GetLabelsInsidePlot() { BOOL result; InvokeHelper(0x5, DISPATCHXFNew_PROPERTYGET, VTXFNew_BOOL, (void)&result, NULL); return result; } void CVcIntersection::SetLabelsInsidePlot(BOOL bNewValue) { static BYTE parms[] = VTSXFNew_BOOL; InvokeHelper(0x5, DISPATCHXFNew_PROPERTYPUT, VTXFNew_EMPTY, NULL, parms, bNewValue); } C++源码 =>> Part Four DataXS.cpp: implementation of the CDataXS class. #include "stdafx.h" #include "a1.h" #include "DataXS.h" #ifdef XFNew_DEBUG

#undef THISXFNew_FILE static char THISXFNew_FILE[]=XFNew_XFNew_FILEXFNew_XFNew_; #define new DEBUGXFNew_NEW #endif ConstructionDestruction CDataXS::CDataXS(int state) { mXFNew_pstrlistFieldsXFNew_Names=new CStringList[2]; mXFNew_iState=state; switch(this->mXFNew_iState) { case XS: { mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("xsXFNew_ph");mXFNew_pstrlistFieldsXF New_Names[1].AddTail("销售票号"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("khXFNew_id");mXFNew_pstrlistFieldsXFN ew_Names[1].AddTail("客户编号"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("khXFNew_name");mXFNew_pstrlistFields XFNew_Names[1].AddTail("客户名称"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("ys");mXFNew_pstrlistFieldsXFNew_Names [1].AddTail("应收金额"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("ss");mXFNew_pstrlistFieldsXFNew_Names [1].AddTail("实收金额"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("ws");mXFNew_pstrlistFieldsXFNew_Name s[1].AddTail("未收金额"); break; } case XSTH: { mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("xsthXFNew_ph");mXFNew_pstrlistFieldsX FNew_Names[1].AddTail("退货票号"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("xsXFNew_ph");mXFNew_pstrlistFieldsXF New_Names[1].AddTail("销售票号"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("khXFNew_id");mXFNew_pstrlistFieldsXFN ew_Names[1].AddTail("客户编号"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("khXFNew_name");mXFNew_pstrlistFields XFNew_Names[1].AddTail("客户名称"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("yf");mXFNew_pstrlistFieldsXFNew_Names [1].AddTail("应付金额"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("sf");mXFNew_pstrlistFieldsXFNew_Names [1].AddTail("实付金额"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("wf");mXFNew_pstrlistFieldsXFNew_Name s[1].AddTail("未付金额"); break;

} case RK: { mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("rkXFNew_ph");mXFNew_pstrlistFieldsXF New_Names[1].AddTail("入库票号"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("gysXFNew_id");mXFNew_pstrlistFieldsXF New_Names[1].AddTail("供应商编号"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("gysXFNew_name");mXFNew_pstrlistFields XFNew_Names[1].AddTail("供应商名称"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("yf");mXFNew_pstrlistFieldsXFNew_Names [1].AddTail("应付金额"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("sf");mXFNew_pstrlistFieldsXFNew_Names [1].AddTail("实付金额"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("wf");mXFNew_pstrlistFieldsXFNew_Name s[1].AddTail("未付金额"); break; } case RKTH: { mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("rkthXFNew_ph");mXFNew_pstrlistFieldsX FNew_Names[1].AddTail("退货票号"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("rkXFNew_ph");mXFNew_pstrlistFieldsXF New_Names[1].AddTail("入库票号"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("gysXFNew_id");mXFNew_pstrlistFieldsXF New_Names[1].AddTail("供应商编号"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("gysXFNew_name");mXFNew_pstrlistFields XFNew_Names[1].AddTail("供应商名称"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("ys");mXFNew_pstrlistFieldsXFNew_Names [1].AddTail("应收金额"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("ss");mXFNew_pstrlistFieldsXFNew_Names [1].AddTail("实收金额"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("ws");mXFNew_pstrlistFieldsXFNew_Name s[1].AddTail("未收金额"); break; } } mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("ypXFNew_id"); mXFNew_pstrlistFieldsXFNew_Names[1].AddTail("药品编号"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("ypXFNew_name");mXFNew_pstrlistFields XFNew_Names[1].AddTail("药品名称"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("ckXFNew_name");mXFNew_pstrlistFields XFNew_Names[1].AddTail("仓库名称"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("pzs");mXFNew_pstrlistFieldsXFNew_Name

s[1].AddTail("品种数"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("rq");mXFNew_pstrlistFieldsXFNew_Names [1].AddTail("日期"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("jsfs");mXFNew_pstrlistFieldsXFNew_Name s[1].AddTail("结算方式"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("isXFNew_jq");mXFNew_pstrlistFieldsXFN ew_Names[1].AddTail("是否结清(-10)"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("czy");mXFNew_pstrlistFieldsXFNew_Name s[1].AddTail("操作员"); mXFNew_pstrlistFieldsXFNew_Names[0].AddTail("jsr");mXFNew_pstrlistFieldsXFNew_Names [1].AddTail("经手人"); } CDataXS::~CDataXS() { delete []mXFNew_pstrlistFieldsXFNew_Names; mXFNew_pstrlistFieldsXFNew_Names=NULL; } bool CDataXS::IsNumberField(CString field) { return (field=="ys"||field=="ws"|| field=="ss"||field=="wf"|| field=="sf"||field=="yf"); } C++源码 =>> Part Five #if !defined(AFXXFNew_MSCHARTXFNew_HXFNew_XFNew_8FDA8672XFNew_6D06XF New_4F02XFNew_9ACAXFNew_A86BD19D828CXFNew_XFNew_INCLUDEDXFNew_) #define AFXXFNew_MSCHARTXFNew_HXFNew_XFNew_8FDA8672XFNew_6D06XFNew_4F02X FNew_9ACAXFNew_A86BD19D828CXFNew_XFNew_INCLUDEDXFNew_ #if XFNew_MSCXFNew_VER > 1000 #pragma once #endif XFNew_MSCXFNew_VER > 1000 Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ NOTE: Do not modify the contents of this file. If this class is regenerated by Microsoft Visual C++, your modifications will be overwritten. Dispatch interfaces referenced by this interface class CVcTitle; class CVcFootnote; class CVcBackdrop; class CVcLegend; class CVcDataGrid; class CVcPlot; CMSChart wrapper class class CMSChart : public CWnd

{ protected: DECLAREXFNew_DYNCREATE(CMSChart) public: CLSID const& GetClsid() { static CLSID const clsid = { 0x3a2b370c, 0xba0a, 0x11d1, { 0xb1, 0x37, 0x0, 0x0, 0xf8, 0x75, 0x3f, 0x5d } }; return clsid; } virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd pParentWnd, UINT nID, CCreateContext pContext = NULL) { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); } BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd pParentWnd, UINT nID, CFile pPersist = NULL, BOOL bStorage = FALSE, BSTR bstrLicKey = NULL) { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID, pPersist, bStorage, bstrLicKey); } Attributes public: Operations public: BOOL GetAutoIncrement(); void SetAutoIncrement(BOOL bNewValue); BOOL GetRandomFill(); void SetRandomFill(BOOL bNewValue); long GetChartType(); void SetChartType(long nNewValue); short GetColumn(); void SetColumn(short nNewValue); short GetColumnCount(); void SetColumnCount(short nNewValue); CString GetColumnLabel(); void SetColumnLabel(LPCTSTR lpszNewValue); short GetColumnLabelCount(); void SetColumnLabelCount(short nNewValue); short GetColumnLabelIndex(); void SetColumnLabelIndex(short nNewValue); CString GetData(); void SetData(LPCTSTR lpszNewValue);

CString GetFootnoteText(); void SetFootnoteText(LPCTSTR lpszNewValue); BOOL GetRepaint(); void SetRepaint(BOOL bNewValue); short GetRow(); void SetRow(short nNewValue); short GetRowCount(); void SetRowCount(short nNewValue); CString GetRowLabel(); void SetRowLabel(LPCTSTR lpszNewValue); short GetRowLabelCount(); void SetRowLabelCount(short nNewValue); short GetRowLabelIndex(); void SetRowLabelIndex(short nNewValue); short GetSeriesColumn(); void SetSeriesColumn(short nNewValue); long GetSeriesType(); void SetSeriesType(long nNewValue); BOOL GetShowLegend(); void SetShowLegend(BOOL bNewValue); long GetDrawMode(); void SetDrawMode(long nNewValue); long GetBorderStyle(); void SetBorderStyle(long nNewValue); BOOL GetEnabled(); void SetEnabled(BOOL bNewValue); long GetHWnd(); CVcTitle GetTitle(); CVcFootnote GetFootnote(); CString GetTitleText(); void SetTitleText(LPCTSTR lpszNewValue); BOOL GetStacking(); void SetStacking(BOOL bNewValue); long GetTextLengthType(); void SetTextLengthType(long nNewValue); BOOL GetAllowSelections(); void SetAllowSelections(BOOL bNewValue); BOOL GetAllowSeriesSelection(); void SetAllowSeriesSelection(BOOL bNewValue); BOOL GetAllowDynamicRotation(); void SetAllowDynamicRotation(BOOL bNewValue); short GetActiveSeriesCount(); CVcBackdrop GetBackdrop(); CVcLegend GetLegend();

CVcDataGrid GetDataGrid(); CVcPlot GetPlot(); BOOL GetAllowDithering(); void SetAllowDithering(BOOL bNewValue); BOOL GetDoSetCursor(); void SetDoSetCursor(BOOL bNewValue); BOOL GetChart3d(); VARIANT GetChartData(); void SetChartData(const VARIANT& newValue); long GetMousePointer(); void SetMousePointer(long nNewValue); void Refresh(); void EditPaste(); void EditCopy(); void Layout(); void ToDefaults(); void SelectPart(short part, short index1, short index2, short index3, short index4); void GetSelectedPart(short part, short index1, short index2, short index3, short index4); void TwipsToChartPart(long xVal, long yVal, short part, short index1, short index2, short index3, short index4); long GetOLEDragMode(); void SetOLEDragMode(long nNewValue); long GetOLEDropMode(); void SetOLEDropMode(long nNewValue); void OLEDrag(); LPUNKNOWN GetDataSource(); void SetRefDataSource(LPUNKNOWN newValue); CString GetDataMember(); void SetDataMember(LPCTSTR lpszNewValue); }; {{AFXXFNew_INSERTXFNew_LOCATION}} Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif !defined(AFXXFNew_MSCHARTXFNew_HXFNew_XFNew_8FDA8672XFNew_6D0 6XFNew_4F02XFNew_9ACAXFNew_A86BD19D828CXFNew_XFNew_INCLUDEDXFNew_ )



更多相关文章:
C++经典程序代码大全
C++经典程序代码大全_计算机软件及应用_IT/计算机_专业资料 暂无评价|0人阅读|0次下载|举报文档C++经典程序代码大全_计算机软件及应用_IT/计算机_专业资料。//根据...
学生成绩管理系统c++代码
学生成绩管理系统c++代码_IT/计算机_专业资料。学生成绩管理系统 c++ 源代码 //长安大学学号 2305100114 黄晓宇 #include<iostream> #include<iomanip> using ...
C++语言计算器源代码
C++语言计算器源代码_IT/计算机_专业资料。C++语言编写。 。 #include<iostream...C++语言编写。 。 #include<iostream> #include<cmath> #include<string> using...
C++程序设计基础-程序源代码
C++程序设计基础-程序源代码_计算机软件及应用_IT/计算机_专业资料 暂无评价|0人阅读|0次下载|举报文档 C++程序设计基础-程序源代码_计算机软件及应用_IT/计算机_...
dnf辅助外挂C++源代码(仅供学习参考)
dnf辅助外挂C++源代码(仅供学习参考)_计算机软件及应用_IT/计算机_专业资料。C++源码~~功能强大 独钓寒江雪由于我的 C 用的比较少,所以大部分都用的汇编,部分...
C++源代码单词扫描程序
院系:计算机学院 实验课程:编译原理实验 实验项目:C++源代码单词扫描程序(词法分析) 指导老师:黄煜廉 实验项目 C++源代码单词扫描程序(词法分析) 一.实验要求 1...
通讯录C++代码
通讯录C++代码_计算机软件及应用_IT/计算机_专业资料。c++源代码 黔南民族师范学院 C++课程设计 名称: 通讯录管理系统 指导老师: 学号: 姓名: 系别:计算机科学系 ...
读者-写者问题C++源代码
读者-写者问题C++源代码_计算机软件及应用_IT/计算机_专业资料。操作系统实验课关于读者—写者问题的C++源代码,是一个年级里唯一一个被老师评为优秀的作业读者...
5_C++案例教程源代码
5_C++案例教程源代码_计算机软件及应用_IT/计算机_专业资料 暂无评价|0人阅读|0次下载|举报文档 5_C++案例教程源代码_计算机软件及应用_IT/计算机_专业资料。...
C++实例代码附有解释
C++实例代码附有解释_计算机软件及应用_IT/计算机_专业资料。C++,实例,代码第一题 #include <iostream.h> class Stack { struct Node { int content; Node *ne...
更多相关标签:

All rights reserved Powered by 甜梦文库 9512.net

copyright ©right 2010-2021。
甜梦文库内容来自网络,如有侵犯请联系客服。zhit325@126.com|网站地图