freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于vcmfc的科學(xué)計(jì)算器程序?qū)嶒?yàn)報(bào)告(編輯修改稿)

2024-10-04 12:00 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 。amp。 (num2 = EPSINON) ){ num_buffer = 除數(shù)不能為零 。 error = true 。} else{ thism_num = num1 / num2 。 }break。 default:thism_num = thisnum2 。 break。} 結(jié)果如下圖所示 ③科學(xué)性運(yùn)算按鈕的處理: 只需根據(jù)數(shù)值分析等為按鈕進(jìn)行算法的合理設(shè)計(jì),正確賦值即可,具體代碼如下: // 自然底數(shù) e void CScience::OnButtonEConst() { thischeck() 。 (_T(%lf) , M_E) 。 fresh() 。 } // 圓周率 ∏ void CScience::OnButtonPai() { thischeck() 。 (_T(%lf) , M_PI) 。 fresh() 。 } void CScience::OnButtonNi() { // 正負(fù)處理 m_result = atof( num_buffer ) 。 // 轉(zhuǎn)化為字符串 ( _T(%lf), m_result )。 fresh() 。 } void CScience::OnButtonMutInv() { thisunary_operation = true 。 const double EPSINON = 。 thism_result = atof( num_buffer ) 。 if ( (thism_result = EPSINON) amp。amp。 (thism_result = EPSINON) ) { GetDlgItem(IDC_EDIT_SHOW)SetWindowText(0 的倒數(shù)沒(méi)有定義 \n) 。 } else { thism_result = / m_result 。 ( _T(%lf), m_result )。 fresh() 。 thisunary_operation = false 。 } } void CScience::OnButtonPercent() { thisunary_operation = true 。 CString tmp = num_buffer 。 thism_result = atof(num_buffer) 。 (_T(%lf) , thism_result * 100 ) 。 tmp += % 。 fresh(tmp) 。 thisunary_operation = false 。 } void CScience::OnButtonSqr() { thisunary_operation = true 。 thism_result = atof(num_buffer) 。 thism_result = sqrt(m_result) 。 (_T(%lf) , thism_result) 。 fresh() 。 thisunary_operation = false 。 } void CScience::OnButtonSin() { CString tmp 。 thisunary_operation = true 。 thism_result = atof(num_buffer) 。 (_T(%lf) , thism_result) 。 tmp = Sin( + num_buffer + ) = 。 thism_result = sin(m_result) 。 (_T(%lf) , thism_result) 。 tmp += num_buffer 。 fresh(tmp) 。 thisunary_operation = false 。 } void CScience::OnButtonCos() { CString tmp 。 thisunary_operation = true 。 thism_result = atof(num_buffer) 。 (_T(%lf) , thism_result) 。 tmp = Cos( + num_buffer + ) = 。 thism_result = cos(m_result) 。 (_T(%lf) , thism_result) 。 tmp += num_buffer 。 fresh(tmp) 。 thisunary_operation = false 。 } void CScience::OnButtonTan() { CString tmp 。 const double EPSINON = 。 thisunary_operation = true 。 thism_result = atof(num_buffer) 。 (_T(%lf) , thism_result) 。 tmp = tan( + num_buffer + ) = 。 if ( (cos(m_result) = EPSINON) amp。amp。 (cos(m_result) = EPSINON) ) { error() 。 } else { thism_result = tan(m_result) 。 (_T(%lf) , thism_result) 。 tmp += num_buffer 。 fresh(tmp) 。 thisunary_operation = false 。 } } void CScience::OnButtonCot() { CString tmp 。 const double EPSINON = 。 thisunary_operation = true 。 thism_result = atof(num_buffer) 。 (_T(%lf) , thism_result) 。 tmp = cot( + num_buffer + ) = 。 if ( (sin(m_result)
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1