stydy.cpp
来自「信号消燥」· C++ 代码 · 共 35 行
CPP
35 行
// stydy.cpp: implementation of the stydy class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "study.h"
#include "stydy.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
stydy::stydy()
{
}
stydy::~stydy()
{
}
void stydy::dyaddown(vector x,int k)
{
for(int i=1;i<=k/2;i++)
y[i]=x[2*i-1];
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?