JElster
asked on
Convert CPP to C#
Hi..
Any idea how I can convert this to C#
struct extrema {
int *mins, *maxes;
extrema();
~extrema();
void alloc(int size);
void dealloc();
void update(point prev, point cur);
} horizExtrema, vertExtrema;
I think it's something like ?????
public class extrema
{
public int mins;
public int maxes;
void update(point prev, point cur);
}
Any idea how I can convert this to C#
struct extrema {
int *mins, *maxes;
extrema();
~extrema();
void alloc(int size);
void dealloc();
void update(point prev, point cur);
} horizExtrema, vertExtrema;
I think it's something like ?????
public class extrema
{
public int mins;
public int maxes;
void update(point prev, point cur);
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Just to add to the last post. I imagine point would be System.Drawing.Point.