//--- CArrayInt::CompareArray(const int &[]) の例
#include <Arrays\ArrayInt.mqh>
//---
int src[];
//---
void OnStart()
{
CArrayInt *array=new CArrayInt;
//---
if(array==NULL)
{
printf("Object create error");
return;
}
//--- 別の配列と比較する
int result=array.CompareArray(src);
//--- 配列を削除する
delete array;
}
|