evilmuffinman
Programmer
Using Visual C++ 2005 .NET ... I made a windows form and I want it to have an array member like so:
This throws the exeption:
Code:
namespace Blueberries {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
public ref class Form1 : public System::Windows::Forms::Form
{
// buncha stuff for the form
int data[1280][1024];
};
}
Code:
1>d:\projects\blueberries\blueberries\Form1.h(120) : error C4368: cannot define 'data' as a member of managed 'Blueberries::Form1': mixed types are not supported