This is my codeneuralc said:Strange...
Can you place a sample code ilustrating....
NeuralC
void CreateImage(int ***image, int& M, int& N)
{
int i,j;
if((*image=(int **)malloc(N*sizeof(int *)))==NULL)
{
cout<< "Not enough memory!";
getch();
exit(0);
}
for(i=0;i<N;i++)
{
if(((*image)[i]=(int*)malloc(M*sizeof(int)))==NULL)
{
cout<< "Not enough memory!";
getch();
exit(0);
}
}
Memory model is small.proiettile said:What is the memory model that you use?
Tiny,Large,hughe...
Yes it is related to 2D arrays for image processing.zkai2000 said:btw, CMOS, isnt this array thingy u're doing related to mine? remember? I asked u about the threshold stuffs
Of course that's the path to take if you will use VB as the GUI. I've done thing like this before, but I'm interfacing VB to a dll which is built using C language, not C++.zkai2000 said:if im gonna use VB as GUI, i'll have to save the c++ codes into a dll file. then use VB to read it rite?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?