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
2098
April 1, 2021
Calling C from Fortran: Passing Vector of Strings from C to Fortran
Homework
6
823
April 26, 2021
Iso_c_binding: interface to a C function returning a string
Help
32
4336
February 18, 2025
Best practices for passing C strings
19
6742
July 2, 2024
Memory alignment for strings ifort vs gfortran
17
438
April 17, 2024