摘要:
#include <iostream>using namespace std;double laglang(double t,double *x,double *y){ double r=0.0; double temp=1.0; for (int k=0;k<5;k++) { temp=1.0; for (int j=0;j<5;j++) { if (j!=k) { temp*=(t-x[j])/(x[k]-x[j]); } ... 阅读全文
摘要:
COLORREF m_clrBkgndColor;CBrush *m_pBkBrush;CSliderCtrl *p_sliderRed;CSliderCtrl *p_sliderGreen;CSliderCtrl *p_sliderBlue;BOOL CcolorDlg::OnEraseBkgnd(CDC* pDC){ // TODO: 在此添加消息处理程序代码和/或调用默认值 if (m_pBkBrush) { CRect cr; GetClientRect(cr); pDC->FillRect(&cr,m_pBkBrush); ... 阅读全文