#include "stdafx.h"
ref class MyClass
{
private:
array^ pos; // declare the managed array
unsigned int a;
unsigned int b;
public:
MyClass()
{
pos = gcnew array(3);
pos[0] = 0; pos[1] = 0; pos[2] = 0;
a = 1;
b = 1;
}
MyClass(double x, double y, double z, unsigned int atNo, unsigned int n): a(atNo), b(n)
{
pos = gcnew array(3);
pos[0] = x; pos[1] = y; pos[2] = z;
}
};