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
2119
April 1, 2021
Calling C from Fortran: Passing Vector of Strings from C to Fortran
Homework
6
841
April 26, 2021
F_c_string function
Help
2
670
March 6, 2021
Best practices for passing C strings
19
6784
July 2, 2024
Memory alignment for strings ifort vs gfortran
17
445
April 17, 2024