longarray.cpp

来自「用vc和cj60lib做的读取shape文件的源代码.还有些小问题没做完。」· C++ 代码 · 共 37 行

CPP
37
字号
// LongArray.cpp: implementation of the CLongArray class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "GeoGis.h"
#include "LongArray.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CLongArray::CLongArray()
{

}

CLongArray::~CLongArray()
{

}

int CLongArray::Find()
{
	for(int  i=0;i< GetSize();i++)
	{
		if(GetAt(i)==1) return i;
	}
	return  -1;
}

⌨️ 快捷键说明

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