<?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[Wie kann ich aus einer Datei eine bestimmte Zeile kopieren?]]></title><description><![CDATA[<p>Hallo wiw kann ich aus einer vorhandenen Datei eine bestimmte Zeile kopieren also so , dass wenn ich danach strg+v drücke sie erscheint?<br />
Weiss da jemand ne funktion?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/162196/wie-kann-ich-aus-einer-datei-eine-bestimmte-zeile-kopieren</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 03:21:25 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/162196.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Oct 2006 09:25:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wie kann ich aus einer Datei eine bestimmte Zeile kopieren? on Mon, 16 Oct 2006 09:25:23 GMT]]></title><description><![CDATA[<p>Hallo wiw kann ich aus einer vorhandenen Datei eine bestimmte Zeile kopieren also so , dass wenn ich danach strg+v drücke sie erscheint?<br />
Weiss da jemand ne funktion?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155523</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155523</guid><dc:creator><![CDATA[Justmeagain]]></dc:creator><pubDate>Mon, 16 Oct 2006 09:25:23 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich aus einer Datei eine bestimmte Zeile kopieren? on Mon, 16 Oct 2006 09:31:01 GMT]]></title><description><![CDATA[<p>Strg+V und Kollegen arbeiten mit dem Windows ClipBoard (aka &quot;Zwischenablage&quot;), also müsstest du mal danach in der MSDN suchen.</p>
<p>(auf Anhieb fällt mir nur ein, deinen Text in ein Control zu schreiben und dann WM_COPY aufzurufen - aber bestimmt gibt es auch einen direkteren Weg)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155529</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155529</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 16 Oct 2006 09:31:01 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich aus einer Datei eine bestimmte Zeile kopieren? on Mon, 16 Oct 2006 09:33:02 GMT]]></title><description><![CDATA[<p>Danke das werd ich ma probieren</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155530</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155530</guid><dc:creator><![CDATA[gsfdghd]]></dc:creator><pubDate>Mon, 16 Oct 2006 09:33:02 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich aus einer Datei eine bestimmte Zeile kopieren? on Mon, 16 Oct 2006 09:44:45 GMT]]></title><description><![CDATA[<p>Find ich leider nichts passendes</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155545</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155545</guid><dc:creator><![CDATA[hdxfhfg]]></dc:creator><pubDate>Mon, 16 Oct 2006 09:44:45 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich aus einer Datei eine bestimmte Zeile kopieren? on Mon, 16 Oct 2006 10:37:27 GMT]]></title><description><![CDATA[<p>Weiss denn niemand ne Antwort <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f622.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--crying_face"
      title=";("
      alt="😢"
    /> ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155585</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155585</guid><dc:creator><![CDATA[dsgdhg]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:37:27 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich aus einer Datei eine bestimmte Zeile kopieren? on Mon, 16 Oct 2006 10:49:16 GMT]]></title><description><![CDATA[<p>Ohne Garantie, daß du dort etwas findest - ein Schubs in die (vermutlich) richtige Richtung: <a href="https://www.google.de/search?&amp;q=site%3Amsdn.microsoft.com%20ClipBoard" rel="nofollow">Google: site:msdn.microsoft.com ClipBoard</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155593</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155593</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:49:16 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich aus einer Datei eine bestimmte Zeile kopieren? on Mon, 16 Oct 2006 12:01:58 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/dataexchange/clipboard/usingtheclipboard.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/dataexchange/clipboard/usingtheclipboard.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155599</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155599</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Mon, 16 Oct 2006 12:01:58 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich aus einer Datei eine bestimmte Zeile kopieren? on Mon, 16 Oct 2006 10:57:55 GMT]]></title><description><![CDATA[<p>Find ich leider auch nichts passendes aber ich könnte das Programm theoretisch ja auch <a href="http://umstellen.Es" rel="nofollow">umstellen.Es</a> muss eine Usereingabe kopieren also wie schon oben erwähnt<br />
Gibts da vielleicht was einfaches?<br />
Vielleicht soetwas in der Art:<br />
copy &quot;&lt;&lt;b&lt;&lt;&quot; to clipboard;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155605</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155605</guid><dc:creator><![CDATA[gfdhgdhd]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:57:55 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich aus einer Datei eine bestimmte Zeile kopieren? on Mon, 16 Oct 2006 12:15:31 GMT]]></title><description><![CDATA[<p>Ich hab mal das Beispiel, auf das ich oben verlinkt hatte bissl zusammengefasst:</p>
<pre><code class="language-cpp">BOOL CopyToClipboard(LPCTSTR szText)
{
    LPTSTR  lptstrCopy; 
    HGLOBAL hglbCopy; 

	// Open the clipboard, and empty it. 
    if (!OpenClipboard(NULL)) 
        return FALSE; 
    EmptyClipboard(); 

    // Allocate a global memory object for the text. 
    hglbCopy = GlobalAlloc(GMEM_MOVEABLE, (lstrlen(szText)+1)* sizeof(TCHAR)); 
    if (hglbCopy == NULL) 
    { 
        CloseClipboard(); 
        return FALSE; 
    } 

    // Lock the handle and copy the text to the buffer. 
    lptstrCopy = (LPTSTR)GlobalLock(hglbCopy); 
    memcpy(lptstrCopy, szText, (lstrlen(szText)+1)* sizeof(TCHAR)); 
    GlobalUnlock(hglbCopy); 

    // Place the handle on the clipboard. 
    SetClipboardData(CF_TEXT, hglbCopy); 

	// Close the clipboard. 
    CloseClipboard(); 

    return TRUE; 
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1155666</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155666</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Mon, 16 Oct 2006 12:15:31 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich aus einer Datei eine bestimmte Zeile kopieren? on Mon, 16 Oct 2006 17:33:56 GMT]]></title><description><![CDATA[<p>Hey erstma thx fuer diesen Quellcode aber wo bestimme ich denn die Datei die ausgelesen werden soll?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155888</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155888</guid><dc:creator><![CDATA[drtujhgk]]></dc:creator><pubDate>Mon, 16 Oct 2006 17:33:56 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich aus einer Datei eine bestimmte Zeile kopieren? on Mon, 16 Oct 2006 19:09:53 GMT]]></title><description><![CDATA[<p>Das Auslesen der Datei habe ich dir selbst überlassen. Der Funktion kannst du dann anschließend einfach den ausgelesenen String übergeben und diese kopiert diesen in die Zwischenablage.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155928</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155928</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Mon, 16 Oct 2006 19:09:53 GMT</pubDate></item></channel></rss>