# How to write cpp codes to fetch the output with a custom type from julia code

**URL:** <https://discourse.julialang.org/t/how-to-write-cpp-codes-to-fetch-the-output-with-a-custom-type-from-julia-code/68633>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [September 23, 2021, 1:53pm UTC](https://discourse.julialang.org/t/how-to-write-cpp-codes-to-fetch-the-output-with-a-custom-type-from-julia-code/68633 "2021-09-23T13:53:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![feimeng93](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/feimeng93/32/29437_2.png) [@feimeng93](https://discourse.julialang.org/u/feimeng93)\
**Post date:** [September 23, 2021, 1:53pm UTC](https://discourse.julialang.org/t/how-to-write-cpp-codes-to-fetch-the-output-with-a-custom-type-from-julia-code/68633/1 "2021-09-23T13:53:18Z")

</div>

Dear all,

I have gotten a result with a custom type “Array{Array{Polynomial{true,Float64},1},1}” from my julia code. But I fail to fetch it using my main c++ source code. Is there any solution?

Many thanks in advance!

Best regards,  
Memphis
