Hi,
I like to use a Fortran Subroutine to combine parts of an array. I have defined the array in C++ as vector<int> recomb; and like to pass that to the Fortran subroutine. There I have defined that as: integer, allocatable :: recomb( : ) . Has anyone an Idea how I can fix that problem. It seems to depend on the class vector, but I don´t know. A scalar can be passed without a problem.
Regards,
Aui
I like to use a Fortran Subroutine to combine parts of an array. I have defined the array in C++ as vector<int> recomb; and like to pass that to the Fortran subroutine. There I have defined that as: integer, allocatable :: recomb( : ) . Has anyone an Idea how I can fix that problem. It seems to depend on the class vector, but I don´t know. A scalar can be passed without a problem.
Regards,
Aui