摘要: #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]); } ... 阅读全文
posted @ 2011-10-20 22:53 Dsp Tian 阅读(656) 评论(0) 推荐(0) 编辑
摘要: 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); ... 阅读全文
posted @ 2011-10-20 00:04 Dsp Tian 阅读(1175) 评论(0) 推荐(0) 编辑