• 大小: 1.85MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-16
  • 语言: C/C++
  • 标签: C++  拼音输入  

资源简介

该系统是一个基于C++的输入法系统,可以很好地实现汉字的输出,值得参考

资源截图

代码片段和文件信息

// pingying.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “pingying.h“
#include “pingyingDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CPingyingApp

BEGIN_MESSAGE_MAP(CPingyingApp CWinApp)
//{{AFX_MSG_MAP(CPingyingApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPingyingApp construction

CPingyingApp::CPingyingApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CPingyingApp object

CPingyingApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CPingyingApp initialization

BOOL CPingyingApp::InitInstance()
{
AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
//  of your final executable you should remove from the following
//  the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

CPingyingDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     110675  2011-12-22 10:04  拼音输入\Debug\pingying.exe

     文件     202252  2011-12-22 10:04  拼音输入\Debug\pingying.ilk

     文件      14300  2011-12-22 10:04  拼音输入\Debug\pingying.obj

     文件    5499464  2011-12-22 10:04  拼音输入\Debug\pingying.pch

     文件     279552  2011-12-22 10:04  拼音输入\Debug\pingying.pdb

     文件       3148  2011-12-22 10:04  拼音输入\Debug\pingying.res

     文件      30998  2011-12-22 10:04  拼音输入\Debug\pingyingDlg.obj

     文件     105559  2011-12-22 10:04  拼音输入\Debug\StdAfx.obj

     文件     205824  2011-12-22 10:04  拼音输入\Debug\vc60.idb

     文件     380928  2011-12-22 10:04  拼音输入\Debug\vc60.pdb

     文件      58077  2006-06-25 21:54  拼音输入\hanzi.txt

     文件      21440  2011-12-22 10:04  拼音输入\pingying.aps

     文件       1492  2011-12-22 10:06  拼音输入\pingying.clw

     文件       2091  2006-06-25 21:27  拼音输入\pingying.cpp

     文件       4195  2006-06-25 21:27  拼音输入\pingying.dsp

     文件        522  2006-06-25 21:27  拼音输入\pingying.dsw

     文件       1346  2006-06-25 21:27  拼音输入\pingying.h

     文件      82944  2011-12-22 10:06  拼音输入\pingying.ncb

     文件      49664  2011-12-22 10:06  拼音输入\pingying.opt

     文件       1691  2011-12-22 10:04  拼音输入\pingying.plg

     文件       6098  2006-06-28 20:01  拼音输入\pingying.rc

     文件       6083  2006-06-28 20:54  拼音输入\pingyingDlg.cpp

     文件       1488  2006-06-25 21:55  拼音输入\pingyingDlg.h

     文件       3615  2006-06-25 21:27  拼音输入\ReadMe.txt

     文件       1078  2006-06-25 21:27  拼音输入\res\pingying.ico

     文件        400  2006-06-25 21:27  拼音输入\res\pingying.rc2

     文件        778  2006-06-25 21:53  拼音输入\Resource.h

     文件        210  2006-06-25 21:27  拼音输入\StdAfx.cpp

     文件       1054  2006-06-25 21:27  拼音输入\StdAfx.h

     目录          0  2011-12-22 10:04  拼音输入\Debug

............此处省略5个文件信息

评论

共有 条评论