Skip to content

Help with C++ port

Christopher Burns

Asked May 28, 2008, 12:32 PM EDT1 answer
Share
LinkedInX

Hi all,

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

The line is:

Code
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

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Anyone have any ideas on this?
    0