<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Writing to cmd]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am making a GUI for a program that made with visual studio.<br />
The program waits to scan a character from cmd ( with <code>scanf </code>) and I want to write the character when I am pressing a button.<br />
I tried to use <code>printf()</code> or  <code>cout &lt;&lt; ""</code> , but it's printing to Qt-creator "Application Output".</p>
<p dir="auto">Is there a way to write to cmd or maybe to change the application output to be cmd?<br />
Maybe you have another idea how to communicate between the programs?<br />
Thank you very much!</p>
]]></description><link>https://forum.qt.io/topic/96744/writing-to-cmd</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 05:53:02 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/96744.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Nov 2018 15:46:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Writing to cmd on Mon, 19 Nov 2018 19:07:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ranbit">@<bdi>ranbit</bdi></a> you are searching for <a href="http://doc.qt.io/qt-5/qprocess.html#details" target="_blank" rel="noopener noreferrer nofollow ugc">QProcess</a></p>
<p dir="auto">Regards</p>
]]></description><link>https://forum.qt.io/post/493977</link><guid isPermaLink="true">https://forum.qt.io/post/493977</guid><dc:creator><![CDATA[aha_1980]]></dc:creator><pubDate>Mon, 19 Nov 2018 19:07:07 GMT</pubDate></item></channel></rss>