Help with C++ port

May 28 2008 4:32 PM

Hi all,

I am having a spot of trouble resolving this line of C++ into C#.

The line is:

be[i] *= (*(inputs+i)) * (1 - (*(inputs+i)));

Where :

double * be;

double * inputs;
int i;

 

I get that (*(inputs + i)) should give me the value at the position in the array that inputs is currently pointing to plus the value of i, but how do I do this in managed C#?

Thanks!

Chris


Answers (1)