C
Cat
Hi.
static readonly byte[] Exponent = new byte[] {0x1, 0x0, 0x1 };
This is a C# code. I would like to do the same thing in Managed C++
static array<Byte^>^ Exponent = gcnew array<Byte^>(3) {0x1, 0x0,
0x1 };
But this caused,
error C2440: 'initializing' : cannot convert from 'int' to
'System::Byte ^'
How can I fix this? Please give me a hint.
Thank you.
static readonly byte[] Exponent = new byte[] {0x1, 0x0, 0x1 };
This is a C# code. I would like to do the same thing in Managed C++
static array<Byte^>^ Exponent = gcnew array<Byte^>(3) {0x1, 0x0,
0x1 };
But this caused,
error C2440: 'initializing' : cannot convert from 'int' to
'System::Byte ^'
How can I fix this? Please give me a hint.
Thank you.