Visual C++ .NET/Collections/Array Pointer
Declare a Pointer to an Array
#include "stdafx.h"
#include <typeinfo.h>
#using <mscorlib.dll>
using namespace System;
struct Rectangle {
int x,y,w,h;
};
int main(void)
{
Rectangle rects[5];
rects[0].x = 10;
rects[0].y = 20;
rects[0].w = 50;
rects[0].h = 100;
Console::WriteLine(rects->x);
return 0;
}