91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.61MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-27
  • 語言: C/C++
  • 標簽:

資源簡介

這是一份VC++制作的科學計算器的代碼,可以在VC++6.0上運行,基本可以實現,加減乘除,指數,對數,三角函數,反三角函數,進制轉換

資源截圖

代碼片段和文件信息

//?CalculatorDemoDlg.cpp?:?implementation?file
//?Download?by?http://www.codefans.net

#include?“stdafx.h“
#include?“TestCalculatorDemo.h“
#include?“CalculatorDemoDlg.h“
#include?“math.h“
#include?“string“

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

#endif


/////////////////////////////////////////////////////////////////////////////
//?CCalculatorDemoDlg?dialog


CCalculatorDemoDlg::CCalculatorDemoDlg(CWnd*?pParent?/*=NULL*/)
:?CDialog(CCalculatorDemoDlg::IDD?pParent)
{
//{{AFX_DATA_INIT(CCalculatorDemoDlg)
//?NOTE:?the?ClassWizard?will?add?member?initialization?here
//}}AFX_DATA_INIT
}


void?CCalculatorDemoDlg::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CCalculatorDemoDlg)
//?NOTE:?the?ClassWizard?will?add?DDX?and?DDV?calls?here
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CCalculatorDemoDlg?CDialog)
//{{AFX_MSG_MAP(CCalculatorDemoDlg)
ON_BN_CLICKED(IDC_BTN_NO1?OnBtnNo1)
ON_BN_CLICKED(IDC_BTN_NO2?OnBtnNo2)
ON_BN_CLICKED(IDC_BTN_NO3?OnBtnNo3)
ON_BN_CLICKED(IDC_BTN_NO4?OnBtnNo4)
ON_BN_CLICKED(IDC_BTN_NO5?OnBtnNo5)
ON_BN_CLICKED(IDC_BTN_NO6?OnBtnNo6)
ON_BN_CLICKED(IDC_BTN_NO7?OnBtnNo7)
ON_BN_CLICKED(IDC_BTN_NO8?OnBtnNo8)
ON_BN_CLICKED(IDC_BTN_NO9?OnBtnNo9)
ON_BN_CLICKED(IDC_BTN_NO0?OnBtnNo0)
ON_BN_CLICKED(IDC_BTN_PORT?OnBtnPort)
ON_BN_CLICKED(IDC_BTN_ADD?OnBtnAdd)
ON_BN_CLICKED(IDC_BTN_SUB?OnBtnSub)
ON_BN_CLICKED(IDC_BTN_MUL?OnBtnMul)
ON_BN_CLICKED(IDC_BTN_DIV?OnBtnDiv)
ON_BN_CLICKED(IDC_BTN_EQUEL?OnBtnEquel)
ON_BN_CLICKED(IDC_BTN_PERCENT?OnBtnPercent)
ON_BN_CLICKED(IDC_BTN_DOWN?OnBtnDown)
ON_BN_CLICKED(IDC_BTN_NEQUA?OnBtnNequa)
ON_BN_CLICKED(IDC_BTN_SPACE?OnBtnSpace)
ON_BN_CLICKED(IDC_BTN_C?OnBtnC)
ON_BN_CLICKED(IDC_BTN_SQRT?OnBtnSqrt)
ON_BN_CLICKED(IDC_SIN?OnSin)
ON_BN_CLICKED(IDC_COS?OnCos)
ON_BN_CLICKED(IDC_TAN?OnTan)
ON_BN_CLICKED(IDC_COT?OnCot)
ON_BN_CLICKED(IDC_EXP?OnExp)
ON_BN_CLICKED(IDC_LOG?OnLog)
ON_BN_CLICKED(IDC_LOG10?OnLog10)
ON_BN_CLICKED(IDC_ARCSIN?OnArcsin)
ON_BN_CLICKED(IDC_ABS?OnAbs)
ON_BN_CLICKED(IDC_PI?OnPi)
ON_BN_CLICKED(IDC_TO16?OnTo16)
ON_BN_CLICKED(IDC_TO2?OnTo2)
ON_BN_CLICKED(IDC_TO8?OnTo8)
ON_BN_CLICKED(IDC_ACOS?OnAcos)
ON_BN_CLICKED(IDC_TO4?OnTo4)
ON_BN_CLICKED(IDC_ATAN?OnAtan)
ON_BN_CLICKED(IDC_ACOT?OnAcot)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CCalculatorDemoDlg?message?handlers

void?CCalculatorDemoDlg::OnBtnNo1()?
{
//?TODO:?Add?your?control?notification?handler?code?here
PutIntoNum(1);
}

void?CCalculatorDemoDlg::OnBtnNo2()?
{
//?TODO:?Add?your?control?notification?handler?code?here
PutIntoNum(2);
}

void?CCalculatorDemoDlg::OnBtnNo3()?
{
//?TODO:?Add?your?control?notification?handler?code?here
PutIntoNum(3);
}

void?CCalculatorDemoDlg::OnBtnNo4()?
{
//?T

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-01-15?18:41??計算器015\
?????文件???????18472??2013-01-11?11:29??計算器015\CalculatorDemoDlg.cpp
?????文件????????2720??2013-01-10?10:31??計算器015\CalculatorDemoDlg.h
?????目錄???????????0??2013-01-15?18:41??計算器015\Debug\
?????文件???????83095??2013-01-11?11:29??計算器015\Debug\CalculatorDemoDlg.obj
?????文件??????105702??2013-01-06?09:37??計算器015\Debug\StdAfx.obj
?????文件??????458837??2013-01-11?18:07??計算器015\Debug\TestCalculatorDemo.exe
?????文件??????231296??2013-01-11?18:07??計算器015\Debug\TestCalculatorDemo.ilk
?????文件???????14400??2013-01-11?18:07??計算器015\Debug\TestCalculatorDemo.obj
?????文件?????5489912??2013-01-06?09:37??計算器015\Debug\TestCalculatorDemo.pch
?????文件??????312320??2013-01-11?18:07??計算器015\Debug\TestCalculatorDemo.pdb
?????文件??????277980??2013-01-11?09:12??計算器015\Debug\TestCalculatorDemo.res
?????文件???????23403??2013-01-11?18:07??計算器015\Debug\TestCalculatorDemoDlg.obj
?????文件??????263168??2013-01-11?18:07??計算器015\Debug\vc60.idb
?????文件??????454656??2013-01-11?18:07??計算器015\Debug\vc60.pdb
?????文件????????3795??2011-09-11?01:36??計算器015\ReadMe.txt
?????目錄???????????0??2013-01-15?18:41??計算器015\res\
?????文件????????2856??2013-01-10?12:46??計算器015\resource.h
?????文件????????1078??2011-09-11?01:36??計算器015\res\TestCalculatorDemo.ico
?????文件?????????410??2011-09-11?01:36??計算器015\res\TestCalculatorDemo.rc2
?????文件??????273342??2013-01-10?12:32??計算器015\res\收藏?(29).bmp
?????文件?????????220??2011-09-11?01:36??計算器015\StdAfx.cpp
?????文件????????1054??2011-09-11?01:36??計算器015\StdAfx.h
?????文件??????313900??2013-01-11?09:12??計算器015\TestCalculatorDemo.aps
?????文件????????3355??2013-01-11?18:07??計算器015\TestCalculatorDemo.clw
?????文件????????2257??2011-09-12?18:27??計算器015\TestCalculatorDemo.cpp
?????文件????????4590??2013-01-10?12:48??計算器015\TestCalculatorDemo.dsp
?????文件?????????542??2011-09-11?17:17??計算器015\TestCalculatorDemo.dsw
?????文件????????1493??2011-09-12?18:27??計算器015\TestCalculatorDemo.h
?????文件???????91136??2013-01-11?11:59??計算器015\TestCalculatorDemo.ncb
?????文件???????54784??2013-01-11?18:07??計算器015\TestCalculatorDemo.opt
............此處省略4個文件信息

評論

共有 條評論