<?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[HTML und speicherungen als .xls]]></title><description><![CDATA[<p>Hallo,</p>
<p>meine Fragen: wie kann ich in einem C++ Code ein HTML Code eingfügen, also was für header, usw.?<br />
Und: Wie kann ich eine Eingabe als excel Datei speichern, und wieder abrufen?<br />
vielen Dank schon im vorraus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/226211/html-und-speicherungen-als-xls</link><generator>RSS for Node</generator><lastBuildDate>Thu, 01 Oct 2026 01:18:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/226211.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Oct 2008 17:09:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to HTML und speicherungen als .xls on Thu, 30 Oct 2008 17:09:16 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>meine Fragen: wie kann ich in einem C++ Code ein HTML Code eingfügen, also was für header, usw.?<br />
Und: Wie kann ich eine Eingabe als excel Datei speichern, und wieder abrufen?<br />
vielen Dank schon im vorraus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1607345</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1607345</guid><dc:creator><![CDATA[DieFrageallerFragen]]></dc:creator><pubDate>Thu, 30 Oct 2008 17:09:16 GMT</pubDate></item><item><title><![CDATA[Reply to HTML und speicherungen als .xls on Thu, 30 Oct 2008 17:18:20 GMT]]></title><description><![CDATA[<p>DieFrageallerFragen schrieb:</p>
<blockquote>
<p>Hallo,</p>
<p>meine Fragen: wie kann ich in einem C++ Code ein HTML Code eingfügen, also was für header, usw.?</p>
</blockquote>
<p>So z.B. kannst du htmlcode direkt ausgeben:</p>
<pre><code class="language-cpp">int main()
{
  //etwas c++-Code

  std::cout &lt;&lt; &quot;&lt;!DOCTYPE html PUBLIC \&quot;-//W3C//DTD XHTML 1.0 Transitional//EN\&quot; \&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\&quot;&gt;&quot; &lt;&lt; std::endl;

 //mehr C++-Code
}
</code></pre>
<p>Oder, um deine Frage exakter zu beantworten:<br />
Du kannst HTML COde in C++ code einfügen indem du ihn im Editor deiner Wahl einfach irgendwo dazwischen tippst oder ihn per copy&amp;paste hineinkopierst. Das wird zwar dein Compiler nicht verstehn und ein browser dürfte auch Mucken machen, aber du hast ja danach gefragt...</p>
<blockquote>
<p>Und: Wie kann ich eine Eingabe als excel Datei speichern, und wieder abrufen?</p>
</blockquote>
<p>Indem du einen std::ofstream öffnest und die Eingabe im Excel-Format dort hineinschreibst. Abrufen geht dann mit dem std::ifstream.</p>
<pre><code class="language-cpp">std::ofstream xlsOut(&quot;output.xls&quot;);
xlsOut &lt;&lt; /* Excel-formatierten String hier */;
xlsOut.close();
</code></pre>
<blockquote>
<p>vielen Dank schon im v******</p>
</blockquote>
<p>Falls dir das geholfen hat: Bitteschön.<br />
Falls nicht wird dir <a href="http://www.tty1.net/smart-questions_de.html" rel="nofollow">das hier</a> vielleicht helfen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1607351</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1607351</guid><dc:creator><![CDATA[pumuckl]]></dc:creator><pubDate>Thu, 30 Oct 2008 17:18:20 GMT</pubDate></item><item><title><![CDATA[Reply to HTML und speicherungen als .xls on Thu, 30 Oct 2008 17:48:47 GMT]]></title><description><![CDATA[<p>also,<br />
mein Compiler gibt bei der Excel Datei aus:<br />
variable `std::ofstream xlsOut' has initializer but incomplete type</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1607374</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1607374</guid><dc:creator><![CDATA[DieFrageallerFragen]]></dc:creator><pubDate>Thu, 30 Oct 2008 17:48:47 GMT</pubDate></item></channel></rss>