<?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[Erstellen von Datein mit C++]]></title><description><![CDATA[<p>Hey ^^ ich suche eine Funktion für C++ Programme zuerstellen..</p>
<p>ganz dummes beispiel:</p>
<p>Ich starte das programm und lasse einen Text abfragen. Sagen wir &quot;Hello World!&quot; geb ich ein. Und würde als Folge eine neue HTML datei mit diesem Text als Inhalt ausgegeben haben. Geht sowas irgendwie?</p>
<p>TIA</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/200086/erstellen-von-datein-mit-c</link><generator>RSS for Node</generator><lastBuildDate>Sun, 04 Oct 2026 05:30:19 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/200086.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Dec 2007 15:43:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Erstellen von Datein mit C++ on Mon, 10 Dec 2007 15:43:18 GMT]]></title><description><![CDATA[<p>Hey ^^ ich suche eine Funktion für C++ Programme zuerstellen..</p>
<p>ganz dummes beispiel:</p>
<p>Ich starte das programm und lasse einen Text abfragen. Sagen wir &quot;Hello World!&quot; geb ich ein. Und würde als Folge eine neue HTML datei mit diesem Text als Inhalt ausgegeben haben. Geht sowas irgendwie?</p>
<p>TIA</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1418240</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1418240</guid><dc:creator><![CDATA[YamiSparrow!]]></dc:creator><pubDate>Mon, 10 Dec 2007 15:43:18 GMT</pubDate></item><item><title><![CDATA[Reply to Erstellen von Datein mit C++ on Mon, 10 Dec 2007 15:46:51 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include&lt;iostream&gt;
#include&lt;fstream&gt;

using namespace std;

int main()
{
fstream html_datei;

html_datei.open(&quot;deine_Datei.html&quot;,ios::out);

html_datei&lt;&lt;&quot;hallo Welt&quot;&lt;&lt;endl;

return 0;
}
</code></pre>
<p>sowas ??</p>
<p>das programm schreibt in eine html datei &quot;hello world&quot; wenn ich mich nicht täusche</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1418244</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1418244</guid><dc:creator><![CDATA[Firefighter]]></dc:creator><pubDate>Mon, 10 Dec 2007 15:46:51 GMT</pubDate></item><item><title><![CDATA[Reply to Erstellen von Datein mit C++ on Mon, 10 Dec 2007 15:51:04 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include&lt;fstream&gt;

int main()
{
    std::ofstream html_datei(&quot;deine_Datei.html&quot;);
    html_datei &lt;&lt; &quot;hallo Welt&quot; &lt;&lt; std::endl;
}
</code></pre>
<p>Das ist die Kurzfassung. So mit dem Muster könntest du in eine Datei schreiben, wobei das nicht wirklich standardkonformen HTML entspricht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1418248</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1418248</guid><dc:creator><![CDATA[mikey]]></dc:creator><pubDate>Mon, 10 Dec 2007 15:51:04 GMT</pubDate></item><item><title><![CDATA[Reply to Erstellen von Datein mit C++ on Mon, 10 Dec 2007 15:58:25 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &lt;fstream&gt;

int main()
{
    std::ofstream html_file(&quot;index.html&quot;);
    html_file &lt;&lt; &quot;&lt;html&gt;\n&lt;head&gt;\n\t&lt;title&gt;C++ Programm 001&lt;/title&gt;\n&lt;/head&gt;\n&lt;body&gt;\n&quot; &lt;&lt; std::endl;
    html_file &lt;&lt; &quot;\t&lt;h1&gt;Index.html&lt;/h1&gt;\n&quot;
              &lt;&lt; &quot;\t&lt;p&gt;Hallo Welt!&lt;/p&gt;&quot; &lt;&lt; std::endl;
    html_file &lt;&lt; &quot;&lt;/body&gt;\n&lt;/html&gt;&quot; &lt;&lt; std::endl;
}
</code></pre>
<p>Gibt doch schon ne ganz anständige HTML-Datei <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/1418251</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1418251</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Mon, 10 Dec 2007 15:58:25 GMT</pubDate></item></channel></rss>