There is a c ++ function that returns a one-dimensional array. How to get this array in C ++ / CLI, so that you can later use it in C # (meaning what data types and operators to use)?
In CLI, an array is of type array<double> ^ , and in C ++ double* . How to write array from C ++ in CLI? My code is:
C ++:
double *func1(....){ ......... } C ++ / CLI:
array<double> ^func2(...){ //как здесь обратиться к указателю, который возвращает функция //func1, чтобы потом возвратить его из функции func2 для //дальнейшего приема в c# }