<?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[txt einbinden]]></title><description><![CDATA[<p>hi,</p>
<p>habe die suche benutzt aber leider nix gefunden was mir geholfen hat!</p>
<p>ich würde ganz gerne in einem c++ spiel in der konsole einen startbildschirm machen.</p>
<p>der bildschirm soll ungefähr so aussehen</p>
<pre><code>___           ___                 
      ___        /  /\         /  /\          ___   
     /  /\      /  /:/_       /  /:/_        /  /\  
    /  /:/     /  /:/ /\     /  /:/ /\      /  /:/  
   /  /:/     /  /:/ /:/_   /  /:/ /::\    /  /:/   
  /  /::\    /__/:/ /:/ /\ /__/:/ /:/\:\  /  /::\   
 /__/:/\:\   \  \:\/:/ /:/ \  \:\/:/~/:/ /__/:/\:\  
 \__\/  \:\   \  \::/ /:/   \  \::/ /:/  \__\/  \:\ 
      \  \:\   \  \:\/:/     \__\/ /:/        \  \:\
       \__\/    \  \::/        /__/:/          \__\/
                 \__\/         \__\/
</code></pre>
<p>dieses würde ich aber recht gerne in einer txt speichern.</p>
<p>kann ich die txt einlesen so das er das ordentlich ausgibt?<br />
wenn ja.... wie???</p>
<p>danke schonmal für die mühen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";-)"
      alt="😉"
    /></p>
<p>geil hab gradnochmmal editiert!!</p>
<p>also eigentlich sollte da oben TEST stehen... könnt ja bestimmt ungefähr vorstellen wie es aussehen soll <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";-)"
      alt="😉"
    /></p>
<p>Tip vom Moderator: Wenn du das in code-Tags packst, kommt die ASCII-Art besser zur Geltung <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/178929/txt-einbinden</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 00:03:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/178929.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Apr 2007 17:12:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to txt einbinden on Wed, 18 Apr 2007 09:27:59 GMT]]></title><description><![CDATA[<p>hi,</p>
<p>habe die suche benutzt aber leider nix gefunden was mir geholfen hat!</p>
<p>ich würde ganz gerne in einem c++ spiel in der konsole einen startbildschirm machen.</p>
<p>der bildschirm soll ungefähr so aussehen</p>
<pre><code>___           ___                 
      ___        /  /\         /  /\          ___   
     /  /\      /  /:/_       /  /:/_        /  /\  
    /  /:/     /  /:/ /\     /  /:/ /\      /  /:/  
   /  /:/     /  /:/ /:/_   /  /:/ /::\    /  /:/   
  /  /::\    /__/:/ /:/ /\ /__/:/ /:/\:\  /  /::\   
 /__/:/\:\   \  \:\/:/ /:/ \  \:\/:/~/:/ /__/:/\:\  
 \__\/  \:\   \  \::/ /:/   \  \::/ /:/  \__\/  \:\ 
      \  \:\   \  \:\/:/     \__\/ /:/        \  \:\
       \__\/    \  \::/        /__/:/          \__\/
                 \__\/         \__\/
</code></pre>
<p>dieses würde ich aber recht gerne in einer txt speichern.</p>
<p>kann ich die txt einlesen so das er das ordentlich ausgibt?<br />
wenn ja.... wie???</p>
<p>danke schonmal für die mühen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";-)"
      alt="😉"
    /></p>
<p>geil hab gradnochmmal editiert!!</p>
<p>also eigentlich sollte da oben TEST stehen... könnt ja bestimmt ungefähr vorstellen wie es aussehen soll <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";-)"
      alt="😉"
    /></p>
<p>Tip vom Moderator: Wenn du das in code-Tags packst, kommt die ASCII-Art besser zur Geltung <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1267266</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1267266</guid><dc:creator><![CDATA[schlongo]]></dc:creator><pubDate>Wed, 18 Apr 2007 09:27:59 GMT</pubDate></item><item><title><![CDATA[Reply to txt einbinden on Mon, 16 Apr 2007 18:17:21 GMT]]></title><description><![CDATA[<p>hmm wo ist das Problem?</p>
<pre><code class="language-cpp">std::ifstream file_stream(&quot;splash.sdf&quot;, std::ios::in);
if (!file_stream)
    return;

std::string string_line;
while (std::getline(file_stream, string_line))
    std::cout &lt;&lt; string_line &lt;&lt; std::endl;

file_stream.close();
</code></pre>
<p>... da ist die Ausgabe korrekt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1267304</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1267304</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Mon, 16 Apr 2007 18:17:21 GMT</pubDate></item><item><title><![CDATA[Reply to txt einbinden on Wed, 18 Apr 2007 09:21:42 GMT]]></title><description><![CDATA[<p>Hier ist dein &quot;Test&quot;</p>
<pre><code>___           ___                 
      ___        /  /\         /  /\          ___   
     /  /\      /  /:/_       /  /:/_        /  /\  
    /  /:/     /  /:/ /\     /  /:/ /\      /  /:/  
   /  /:/     /  /:/ /:/_   /  /:/ /::\    /  /:/   
  /  /::\    /__/:/ /:/ /\ /__/:/ /:/\:\  /  /::\   
 /__/:/\:\   \  \:\/:/ /:/ \  \:\/:/~/:/ /__/:/\:\  
 \__\/  \:\   \  \::/ /:/   \  \::/ /:/  \__\/  \:\ 
      \  \:\   \  \:\/:/     \__\/ /:/        \  \:\
       \__\/    \  \::/        /__/:/          \__\/
                 \__\/         \__\/
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1268215</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1268215</guid><dc:creator><![CDATA[EXDW]]></dc:creator><pubDate>Wed, 18 Apr 2007 09:21:42 GMT</pubDate></item></channel></rss>