Z
Zoran Stipanicev
Hi!
I have a problem in converting code below from native c++ to .net cli:
//native c++
typedef float tip;
tip* conteiner_;
tip& Element_(int r, int c)
{
return conteiner_[r];
}
I've tried this:
//.net cli
typedef System::Single tip;
array<tip>^ conteiner_;
tip& Element_(int r, int c)
{
return conteiner_[r];
}
but I get the error that "tip" can't be converted to "tip&".
Thx!
Best regards,
Zoran Stipanicev.
I have a problem in converting code below from native c++ to .net cli:
//native c++
typedef float tip;
tip* conteiner_;
tip& Element_(int r, int c)
{
return conteiner_[r];
}
I've tried this:
//.net cli
typedef System::Single tip;
array<tip>^ conteiner_;
tip& Element_(int r, int c)
{
return conteiner_[r];
}
but I get the error that "tip" can't be converted to "tip&".
Thx!
Best regards,
Zoran Stipanicev.