Fortran Discourse
Best way to retrieve a string from C
Help
ivanpribec
January 30, 2023, 7:53am
2
A few solutions are available in previous threads:
Iso_c_binding: interface to a C function returning a string - #13 by FortranFan
Experiment: dealing with a pointer to a string from C
show post in topic
Related topics
Topic
Replies
Views
Activity
Experiment: dealing with a pointer to a string from C
8
2023
April 1, 2021
Best practices for passing C strings
19
6241
July 2, 2024
Return an array of strings from fortran to c++
Help
14
1729
February 3, 2023
Calling C from Fortran: Passing Vector of Strings from C to Fortran
Homework
6
797
April 26, 2021
Passing strings to C(++) functions without copying
Help
5
1654
February 22, 2022