stdafx.cpp

来自「visual c++数字图像与图形处理中的光盘内容」· C++ 代码 · 共 34 行

CPP
34
字号
// stdafx.cpp : source file that includes just the standard includes
//	MedianBlur.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"


/*
//快速分类方法,递归调用
void QuickSort(int *pnArray, int nFirst, int nLast)
{
	int nLeft = nFirst;
	int nRight = nLast;
	if(nFirst >= nLast) return;

	int nMiddle = pnArray[(nFirst + nLast) / 2];
	do
	{
		while(pnArray[nLeft] < nMiddle)nLeft++;
		while(pnArray[nRight] > nMiddle)nRight--;
		if(nLeft <= nRight)
		{
			int nTemp = pnArray[nLeft];
			pnArray[nLeft++] = pnArray[nRight];
			pnArray[nRight--] = nTemp;
		}
	
	}while(nLeft <= nRight);

	QuickSort(pnArray,nFirst,nRight);
	QuickSort(pnArray,nLeft,nLast);
}*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?