# Send vector of doubles in a C-struct to Fortran Derived Type

**URL:** <https://fortran-lang.discourse.group/t/send-vector-of-doubles-in-a-c-struct-to-fortran-derived-type/5726>\
**Category:** Uncategorized\
**Created:** [May 2, 2023, 10:31pm UTC](https://fortran-lang.discourse.group/t/send-vector-of-doubles-in-a-c-struct-to-fortran-derived-type/5726 "2023-05-02T22:31:37Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![raba](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@raba](https://fortran-lang.discourse.group/u/raba)\
**Post date:** [May 3, 2023, 12:44pm UTC](https://fortran-lang.discourse.group/t/send-vector-of-doubles-in-a-c-struct-to-fortran-derived-type/5726/8 "2023-05-03T12:44:24Z")

</div>

Can you give some guidence how to use descriptors to accomplish this? I was reading about descriptors in Modern Fortran Explained (Metcalf). I know just that one should use `#include <ISO_Fortran_binding.h>`. Also I was reading your [thread](https://fortran-lang.discourse.group/t/allocate-interoperability-and-c-descriptors/5088/14), which led me to this wonderful community via [stackexchange](https://stackoverflow.com/questions/58397095/fortran-c-interoperability-passing-a-struct-from-fortran-to-c-with-allocatables)

Regarding the extra component, that arose from last minute so it wasn’t part of the original struct

---

_[View the full topic](https://fortran-lang.discourse.group/t/send-vector-of-doubles-in-a-c-struct-to-fortran-derived-type/5726)._
