pitc.h

来自「一个简单的个人所得税计算器,可以编辑税率表和所在地列表.」· C头文件 代码 · 共 77 行

H
77
字号
// PITC.h : main header file for the PITC application
//

#if !defined(AFX_PITC_H__A7C655D8_0D8A_4069_B2EB_95B9B5DF9D26__INCLUDED_)
#define AFX_PITC_H__A7C655D8_0D8A_4069_B2EB_95B9B5DF9D26__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CPITCApp:
// See PITC.cpp for the implementation of this class
//
struct AREA_T
{
	CString area;
    double start;
};

/*
struct CESS_T
{
	int num;
    double from;
	double to;
	double cess;
	double sub;
};
*/
struct FilePath
{
	CString driver;
	CString dir;
	CString filename;
};


class CPITCApp : public CWinApp
{
public:
	int ReadMaxInt(CString str,int *a);
	double Sswr(double raw,int n);
	double Ssws(double raw,int n);
	FilePath GetExeFilePath();
	CPITCApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPITCApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CPITCApp)
	afx_msg void OnAppAbout();
	afx_msg void OnHelp();
	afx_msg void OnTest();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PITC_H__A7C655D8_0D8A_4069_B2EB_95B9B5DF9D26__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?