title: How do I Print to Console using dart:ffi in Flutter?
body: <p>Trying to print to console when running my Flutter app (on Android) from the following C++ code I am running through <a href="https://flutter.dev/docs/development/platform-integration/c-interop" rel="noreferrer"><code>dart:ffi</code></a>:</p>
  
  <pre class="lang-cpp prettyprint-override"><code>#include &lt;iostream&gt;
  
  std::cout &lt;&lt; "Hello, World!";
  </code></pre>
  
  <p>Does not give me any output in the terminal. How would I print to the Flutter terminal from C++?</p>
  
  <hr>
  
  <p>I know my functions otherwise work correctly because I am getting correct actions on pointers / return values.</p>