vc++程序:通讯录
vc++程序 // ADOConn1.cpp : implementation file // #include "stdafx.h" #include "tongxun.h" #include "ADOConn1.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // ADOConn IMPL EMENT_DYNCREATE(ADOConn, CEditView) ADOConn::ADOConn() { } ADOConn::~ADOConn() { } BEGIN_MESSAGE_MAP(ADOConn, CEditView) //{{AFX_MSG_MAP(ADOConn) // NOTE - the ClassWizard will add and remove mapping macros here. //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // ADOConn drawing void ADOConn::OnDraw(CDC* pDC) { CDocument* pDoc = GetDocument(); // TODO: add draw code here } ///////////////////////////////////////////////////////////////////////////// // ADOConn diagnostics #ifdef _DEBUG void ADOConn::AssertValid() const { CEditView::AssertValid(); } void ADOConn::Dump(CDumpContext& dc) const { CEditView::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // ADOConn message handlers EMENT_DYNCREATE(ADOConn, CEditView) ADOConn::ADOConn() { } ADOConn::~ADOConn() { } BEGIN_MESSAGE_MAP(ADOConn, CEditView) //{{AFX_MSG_MAP(ADOConn) // NOTE - the ClassWizard will add and remove mapping macros here. //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // ADOConn drawing void ADOConn::OnDraw(CDC* pDC) { CDocument* pDoc = GetDocument(); // TODO: add draw code here } ///////////////////////////////////////////////////////////////////////////// // ADOConn diagnostics #ifdef _DEBUG void ADOConn::AssertValid() const { CEditView::AssertValid(); } void ADOConn::Dump(CDumpContext& dc) const { CEditView::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // ADOConn message handlers
下载地址
用户评论
作为参考,写的挺复杂的,有很多地方可以更简化一些
还行吧。有点像毕设。。。
很实用 不错
代码比较实用的,文档编排也不错,检查通过了,谢谢。