<?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[2 Befehle]]></title><description><![CDATA[<p>Moin Leudz,</p>
<p>hab mal ne Frage:</p>
<p>Gibt es einen Befehl der ein Cd Laufwerk öffnet und wieder schliesst?</p>
<p>Und welcher Befehl sorgt dafür, das z.B.</p>
<p>cout&lt;&lt;&quot;XYZ&quot;;<br />
cout&lt;&lt;&quot;ABC&quot;;</p>
<p>zeitverzögert, also erst xyz und z.B 2 Sekunden Später abc ausgegeben wird?</p>
<p>Es wäre nett, wenn Ihr mir auch die Header dafür nennen könntet.</p>
<p>Vielen Dank im mvoraus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/128243/2-befehle</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Jul 2026 10:45:27 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/128243.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Dec 2005 18:36:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 2 Befehle on Thu, 01 Dec 2005 18:36:37 GMT]]></title><description><![CDATA[<p>Moin Leudz,</p>
<p>hab mal ne Frage:</p>
<p>Gibt es einen Befehl der ein Cd Laufwerk öffnet und wieder schliesst?</p>
<p>Und welcher Befehl sorgt dafür, das z.B.</p>
<p>cout&lt;&lt;&quot;XYZ&quot;;<br />
cout&lt;&lt;&quot;ABC&quot;;</p>
<p>zeitverzögert, also erst xyz und z.B 2 Sekunden Später abc ausgegeben wird?</p>
<p>Es wäre nett, wenn Ihr mir auch die Header dafür nennen könntet.</p>
<p>Vielen Dank im mvoraus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/931615</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/931615</guid><dc:creator><![CDATA[Shihan]]></dc:creator><pubDate>Thu, 01 Dec 2005 18:36:37 GMT</pubDate></item><item><title><![CDATA[Reply to 2 Befehle on Thu, 01 Dec 2005 18:39:36 GMT]]></title><description><![CDATA[<p>Welches BS?</p>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/931618</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/931618</guid><dc:creator><![CDATA[FireFlow [logout]]]></dc:creator><pubDate>Thu, 01 Dec 2005 18:39:36 GMT</pubDate></item><item><title><![CDATA[Reply to 2 Befehle on Thu, 01 Dec 2005 18:40:21 GMT]]></title><description><![CDATA[<p>Welches Betriebssystem?</p>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/931620</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/931620</guid><dc:creator><![CDATA[FireF1ow]]></dc:creator><pubDate>Thu, 01 Dec 2005 18:40:21 GMT</pubDate></item><item><title><![CDATA[Reply to 2 Befehle on Thu, 01 Dec 2005 18:41:27 GMT]]></title><description><![CDATA[<p>Windows XP Pro, sorry hatte ich vergesssen zu erwähnen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/931621</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/931621</guid><dc:creator><![CDATA[Shihan]]></dc:creator><pubDate>Thu, 01 Dec 2005 18:41:27 GMT</pubDate></item><item><title><![CDATA[Reply to 2 Befehle on Thu, 01 Dec 2005 18:46:21 GMT]]></title><description><![CDATA[<ol>
<li></li>
</ol>
<p>#include &lt;windows.h&gt;</p>
<p>Sleep(2000);</p>
<ol start="2">
<li></li>
</ol>
<p><a href="http://www.c-worker.ch/api/cdrom.cpp" rel="nofollow">http://www.c-worker.ch/api/cdrom.cpp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/931628</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/931628</guid><dc:creator><![CDATA[asdfasdf]]></dc:creator><pubDate>Thu, 01 Dec 2005 18:46:21 GMT</pubDate></item><item><title><![CDATA[Reply to 2 Befehle on Thu, 01 Dec 2005 18:48:42 GMT]]></title><description><![CDATA[<p>Sleep aus windows.h:<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/sleep.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/sleep.asp</a></p>
<p>Edit: zu langsam</p>
]]></description><link>https://www.c-plusplus.net/forum/post/931630</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/931630</guid><dc:creator><![CDATA[Vellas]]></dc:creator><pubDate>Thu, 01 Dec 2005 18:48:42 GMT</pubDate></item><item><title><![CDATA[Reply to 2 Befehle on Thu, 01 Dec 2005 18:52:42 GMT]]></title><description><![CDATA[<p>Vielen Dank Leute <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/931638</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/931638</guid><dc:creator><![CDATA[Shihan]]></dc:creator><pubDate>Thu, 01 Dec 2005 18:52:42 GMT</pubDate></item><item><title><![CDATA[Reply to 2 Befehle on Mon, 05 Dec 2005 20:07:56 GMT]]></title><description><![CDATA[<p>Also, war mal so frech den Quellcode zu kopieren.</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;
#include &lt;stdio.h&gt;
#include &lt;winuser.h&gt;
#include &lt;mmsystem.h&gt;
#include &lt;iostream.h&gt;
#include &lt;conio.h&gt;

bool DoOpenCdRom(void);
bool DoCloseCdRom(void); // Prototypen

int main()
{
  bool rc;

  rc = DoOpenCdRom();

  rc = DoCloseCdRom();
 }

bool DoOpenCdRom(void)
{
  char chrRc[256];
  char *ptrChrRc = &amp;chrRc[0];

  return mciSendString(&quot;Set CDAudio Door Open\0&quot;,ptrChrRc,256,NULL);
}

bool DoCloseCdRom(void)
{

  char chrRc[256];
  char *ptrChrRc = &amp;chrRc[0];

  return mciSendString(&quot;Set CDAudio Door Closed\0&quot;,ptrChrRc,256,NULL);
}
</code></pre>
<p>Bekomme aber immer folgende Fehlermeldung:</p>
<pre><code>[Linker error] undefined reference to `mciSendStringA@16'
</code></pre>
<p>Kann mir da jemand weiterhelfen?</p>
<p>edit: sfds</p>
]]></description><link>https://www.c-plusplus.net/forum/post/931654</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/931654</guid><dc:creator><![CDATA[Shihan]]></dc:creator><pubDate>Mon, 05 Dec 2005 20:07:56 GMT</pubDate></item><item><title><![CDATA[Reply to 2 Befehle on Fri, 02 Dec 2005 11:10:25 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=403" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/932137</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/932137</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Fri, 02 Dec 2005 11:10:25 GMT</pubDate></item><item><title><![CDATA[Reply to 2 Befehle on Mon, 05 Dec 2005 19:13:07 GMT]]></title><description><![CDATA[<p>Verlinke dein Programm noch mit der winmm.lib und es sollte dann funktionieren!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/935273</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/935273</guid><dc:creator><![CDATA[qasdfgh]]></dc:creator><pubDate>Mon, 05 Dec 2005 19:13:07 GMT</pubDate></item></channel></rss>