<?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[1stellige Zahl zu 3 stellige zahl machen?]]></title><description><![CDATA[<p>Hallo alle zusammen,</p>
<p>wie kann ich bitte 1 stellige zahl zu drei stellige Zahl machen?<br />
ZB:<br />
1 --&gt;001<br />
17--&gt;017<br />
56--&gt; 056<br />
..<br />
danke in voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/318672/1stellige-zahl-zu-3-stellige-zahl-machen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Jul 2026 02:16:04 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/318672.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Jul 2013 09:45:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 09:45:32 GMT]]></title><description><![CDATA[<p>Hallo alle zusammen,</p>
<p>wie kann ich bitte 1 stellige zahl zu drei stellige Zahl machen?<br />
ZB:<br />
1 --&gt;001<br />
17--&gt;017<br />
56--&gt; 056<br />
..<br />
danke in voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340322</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340322</guid><dc:creator><![CDATA[MaximGast]]></dc:creator><pubDate>Mon, 22 Jul 2013 09:45:32 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 09:48:16 GMT]]></title><description><![CDATA[<p>std::setw + std::setfill</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340325</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340325</guid><dc:creator><![CDATA[out]]></dc:creator><pubDate>Mon, 22 Jul 2013 09:48:16 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 10:56:30 GMT]]></title><description><![CDATA[<pre><code>void TxtAusgabe_Gl26(vector&lt;int&gt; &amp;v)
{
	string zielDatei = &quot;c:\\Users\\test_ausgabe.txt&quot;;
	//ios::fmtflags neuesFormat= ios::left|ios::oct;
	//ofstream datei(zielDatei.c_str(),ios::app);
	if(!datei.is_open())
	{
		cerr &lt;&lt; zielDatei &lt;&lt; &quot; Kann nicht geoeffnet werden!\n&quot;;
		exit(-1);
	}
	datei.fill('0');
	datei.width(3);
	copy(v.begin(),v.end(),ostream_iterator&lt;int&gt;(datei.right,&quot;   &quot;));
	datei&lt;&lt;&quot;\n&quot;;
}
</code></pre>
<p>ich bekomme eine Fehlermeldung :<br />
error C2665: 'std::ostream_iterator&lt;_Ty&gt;::ostream_iterator' : none of the 2 overloads could convert all t</p>
<p>was heisst das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340341</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340341</guid><dc:creator><![CDATA[MaximGast]]></dc:creator><pubDate>Mon, 22 Jul 2013 10:56:30 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 11:01:47 GMT]]></title><description><![CDATA[<p><a href="http://www.cplusplus.com/reference/iomanip/setfill/" rel="nofollow">http://www.cplusplus.com/reference/iomanip/setfill/</a></p>
<p>Versuchs mal nach dem Schema:</p>
<pre><code>std::cout &lt;&lt; std::setfill ('x') &lt;&lt; std::setw (10);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2340343</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340343</guid><dc:creator><![CDATA[It0101]]></dc:creator><pubDate>Mon, 22 Jul 2013 11:01:47 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 11:22:09 GMT]]></title><description><![CDATA[<pre><code>datei&lt;&lt;setfill('0')&lt;&lt;setw(3);
copy(v.begin(),v.end(),ostream_iterator&lt;int&gt;(datei,&quot;   &quot;));
datei&lt;&lt;&quot;\n&quot;;
</code></pre>
<p>--&gt;Ergebnis:<br />
000 1 33 83 104 110 124 163 185 314 318 343 356 386 430 440 456 464 475 487 492<br />
001 32 50 21 6 14 39 22 15 3 46 2 7 56 4 25 13 030 44 10 16 8 11 12 5<br />
033 82</p>
<p>0 wird nur bei ersten Zahl am anfang der Zeile</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340347</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340347</guid><dc:creator><![CDATA[MaximGast]]></dc:creator><pubDate>Mon, 22 Jul 2013 11:22:09 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 11:39:32 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">for (int i : v) datei&lt;&lt;&quot;   &quot;&lt;&lt;setfill('0')&lt;&lt;setw(3)&lt;&lt;i;
</code></pre>
<p>?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340356</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340356</guid><dc:creator><![CDATA[?????]]></dc:creator><pubDate>Mon, 22 Jul 2013 11:39:32 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 11:41:01 GMT]]></title><description><![CDATA[<p>setw wirkt nur 1x auf die nächste Ausgabe. Ich würde halt nicht std::copy für Ausgaben verwenden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340357</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340357</guid><dc:creator><![CDATA[out]]></dc:creator><pubDate>Mon, 22 Jul 2013 11:41:01 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 11:41:51 GMT]]></title><description><![CDATA[<p>Das liegt da dran, dass setw nur für die nächste Operation gilt. Oder genauer gesagt: Es ist zwar permanent, aber operator&lt;&lt; (der ohnehin die einzige (Standard-)Operation ist, die auf width reagiert) muss jedes Mal width wieder auf 0 setzen, wenn er fertig ist.</p>
<p>Abhilfe, um trotzdem copy und Iteratoren nutzen zu können, wäre, ein eigener Wrapper um den Iterator, der bei jeder Operation width neu setzt. Gibt's, wie immer, schon in Boost:<br />
<a href="http://www.boost.org/doc/libs/1_39_0/libs/iterator/doc/function_output_iterator.html" rel="nofollow">http://www.boost.org/doc/libs/1_39_0/libs/iterator/doc/function_output_iterator.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340359</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340359</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 22 Jul 2013 11:41:51 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 12:06:28 GMT]]></title><description><![CDATA[<p>#include &lt;boost/function_output_iterator.hpp&gt;<br />
--&gt; Die resoucen können nicht geöffnet werden!!!</p>
<p>gibt es einen andere Weg?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340366</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340366</guid><dc:creator><![CDATA[MaximGast]]></dc:creator><pubDate>Mon, 22 Jul 2013 12:06:28 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 12:14:32 GMT]]></title><description><![CDATA[<p>Stumpf ist Trumpf:</p>
<pre><code>void write_integer( ostream&amp; os, int Value )
{
   if( Value &lt; 0 )
   {
      Value = -Value;
      os &lt;&lt; &quot;-&quot;;
   }
   if( Value &lt; 10 )       os &lt;&lt; &quot;00&quot; &lt;&lt; Value;
   else if( Value &lt; 100 ) os &lt;&lt; &quot;0&quot; &lt;&lt; Value;
   else                   os &lt;&lt; Value;
}
</code></pre>
<p>*duck und weg* <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340369</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340369</guid><dc:creator><![CDATA[DocShoe]]></dc:creator><pubDate>Mon, 22 Jul 2013 12:14:32 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 12:19:48 GMT]]></title><description><![CDATA[<p>MaximGast schrieb:</p>
<blockquote>
<p>#include &lt;boost/function_output_iterator.hpp&gt;<br />
--&gt; Die resoucen können nicht geöffnet werden!!!</p>
<p>gibt es einen andere Weg?</p>
</blockquote>
<p>Boost installieren?</p>
<p>Oder</p>
<p>SeppJ schrieb:</p>
<blockquote>
<p>Abhilfe, um trotzdem copy und Iteratoren nutzen zu können, wäre, ein eigener Wrapper um den Iterator, der bei jeder Operation width neu setzt.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/2340371</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340371</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 22 Jul 2013 12:19:48 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 12:57:39 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/18927">@DocShoe</a> noch einen blöde Frage:</p>
<pre><code>void TxtAusgabe_Gl26(vector&lt;int&gt; &amp;v)
{
	string zielDatei = &quot;c:\\Users\\test_ausgabe.txt&quot;;
	//ios::fmtflags neuesFormat= ios::left|ios::oct;
	ofstream datei(zielDatei,ios::app);
	//ofstream datei(zielDatei.c_str(),ios::app);
	if(!datei.is_open())
	{
		cerr &lt;&lt; zielDatei &lt;&lt; &quot; Kann nicht geoeffnet werden!\n&quot;;
		exit(-1);
	}
	//copy(v.begin(),v.end(),ostream_iterator&lt;int&gt;(datei,&quot;   &quot;));
//--&gt; Wie soll ich die write_integer aufrufen??
	for(size_t i= 0;i&lt;v.size();++i)
		write_integer(datei,v.at(i));
//&lt;--
	datei&lt;&lt;&quot;\n&quot;;
}
</code></pre>
<p>sorry <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340383</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340383</guid><dc:creator><![CDATA[MaximGast]]></dc:creator><pubDate>Mon, 22 Jul 2013 12:57:39 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 13:13:10 GMT]]></title><description><![CDATA[<p>Genau so... was geht denn nicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340389</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340389</guid><dc:creator><![CDATA[DocShoe]]></dc:creator><pubDate>Mon, 22 Jul 2013 13:13:10 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 13:35:27 GMT]]></title><description><![CDATA[<p>ich bekomme diese Fehlermeldung:<br />
error C3861: 'write_integer': identifier not found</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340398</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340398</guid><dc:creator><![CDATA[MaximGast]]></dc:creator><pubDate>Mon, 22 Jul 2013 13:35:27 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 13:45:38 GMT]]></title><description><![CDATA[<p>DocShoe schrieb:</p>
<blockquote>
<p>Stumpf ist Trumpf:</p>
<pre><code>void write_integer( ostream&amp; os, int Value )
{
   if( Value &lt; 0 )
   {
      Value = -Value;
      os &lt;&lt; &quot;-&quot;;
   }
   if( Value &lt; 10 )       os &lt;&lt; &quot;00&quot; &lt;&lt; Value;
   else if( Value &lt; 100 ) os &lt;&lt; &quot;0&quot; &lt;&lt; Value;
   else                   os &lt;&lt; Value;
}
</code></pre>
<p>*duck und weg* <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
</blockquote>
<p>Nutz da doch wenigstens intern setw, damit man nicht so eingeschränkt ist und auch das Füllzeichen noch ändern kann. Außerdem schreit dies meiner Meinung nach nach einer Implementierung als Funktor/Lambda.</p>
<p>@Threadersteller: Ich bin gerade etwas verwirrt. Wie viel C++ kannst du überhaupt? Einerseits kommst du mit algorithms und Iteratoren an, andererseits scheinst du nicht in der Lage zu sein, einfachste Programme zu schreiben. Nenn mal bitte deinen Kenntnisstand, dann kann man passendere Antworten geben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340401</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340401</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 22 Jul 2013 13:45:38 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 15:09:30 GMT]]></title><description><![CDATA[<p>@Stepp :Nutz da doch wenigstens intern setw, damit man nicht so eingeschränkt ist und auch das Füllzeichen noch ändern kann. Außerdem schreit dies meiner Meinung nach nach einer Implementierung als Funktor/Lambda</p>
<p>Ehrlich gesagt verstehe ich nicht was du meinst?</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340417</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340417</guid><dc:creator><![CDATA[MaximGast]]></dc:creator><pubDate>Mon, 22 Jul 2013 15:09:30 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 15:23:07 GMT]]></title><description><![CDATA[<p>Damit meinte er auch mich, und nicht dich. Du sollst uns jetzt erst ein mal erzählen, wieviel C++ du wirklich kannst.</p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/19375">@SeppJ</a><br />
Funktor wäre nicht mehr ganz so stumpf gewesen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340423</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340423</guid><dc:creator><![CDATA[DocShoe]]></dc:creator><pubDate>Mon, 22 Jul 2013 15:23:07 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 15:27:20 GMT]]></title><description><![CDATA[<p>Ich bin nocn anfänger....<br />
Ich habe nicht Erfahrungen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340424</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340424</guid><dc:creator><![CDATA[MaximGast]]></dc:creator><pubDate>Mon, 22 Jul 2013 15:27:20 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 15:40:49 GMT]]></title><description><![CDATA[<p>MaximGast schrieb:</p>
<blockquote>
<p>Ich bin nocn anfänger....<br />
Ich habe nicht Erfahrungen</p>
</blockquote>
<p>Warum fummelst du dann so komisch Streamiteratoren rum? Abgeschrieben? (Fall ja: Schlechte Idee zum Lernen.)</p>
<p>Wieso nicht einfach die ganze Funktion weglassen und stattdessen:</p>
<pre><code>for(size_t i = 0; i &lt; dein_vector.size(); ++i)
  zielstream &lt;&lt; setw(3) &lt;&lt; setfill('0') &lt;&lt; dein_vector[i] &lt;&lt; &quot; &quot;;
</code></pre>
<p>Zwei Zeilen und fertig. So macht man das, wenn man gerade mit C++ angefangen hat. (Und später eigentlich auch. Dieses ostream_iterator-Gefummel benutzt niemand ernsthaft, außer er will den großen Haxx0r markieren.)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340429</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340429</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 22 Jul 2013 15:40:49 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 15:44:06 GMT]]></title><description><![CDATA[<p>Ich habe das jetzt:</p>
<pre><code>datei.fill('0');
for(size_t i= 0;i&lt;v.size();++i)
{
 datei.width(3);
 datei&lt;&lt;v[i]&lt;&lt; &quot;   &quot;;
}
</code></pre>
<p>Jede hat klein angefangen<br />
aber danke an alle <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/2340432</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340432</guid><dc:creator><![CDATA[MaximGast]]></dc:creator><pubDate>Mon, 22 Jul 2013 15:44:06 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 15:47:52 GMT]]></title><description><![CDATA[<p>Sieht doch gleich viel besser aus. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f60b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_savoring_food"
      title=":yum:"
      alt="😋"
    /> Und funktioniert nach Wunsch, nehme ich an?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340434</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340434</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 22 Jul 2013 15:47:52 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 16:24:53 GMT]]></title><description><![CDATA[<p>jetzt möchte das Ostream Ausgabe in einem Pyramid form<br />
Wie mache ich das ?</p>
<p>zb:</p>
<p>111 333 444 555 777 888 123 453 456 001<br />
212 225 815 248 000 231 589 215 210<br />
121 210 230 213 231 218 215 218<br />
747 104 233 344 345 789 871<br />
785 102 201 854 124 215<br />
781 214 895 210 101<br />
456 890 123 545<br />
456 678 899<br />
345 678<br />
456</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340443</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340443</guid><dc:creator><![CDATA[MaximGast]]></dc:creator><pubDate>Mon, 22 Jul 2013 16:24:53 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 16:27:09 GMT]]></title><description><![CDATA[<p>nein :<br />
in diesen form meine ich:<br />
102 222 542<br />
965 125<br />
102</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340446</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340446</guid><dc:creator><![CDATA[MaximGast]]></dc:creator><pubDate>Mon, 22 Jul 2013 16:27:09 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 16:33:46 GMT]]></title><description><![CDATA[<p>Setz Formatierungen in die Code-Tags, dann bleiben sie erhalten.</p>
<p>Hast du denn einen Anstaz? Das klingt mir doch sehr nach Hausaufgabe.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340450</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340450</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 22 Jul 2013 16:33:46 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Mon, 22 Jul 2013 16:47:33 GMT]]></title><description><![CDATA[<p>Es ist keine Hausaufgabe.<br />
Ich mache nur für mich<br />
Ansatz habe ich :</p>
<pre><code>if(v.size()== 20)
		{
		 datei&lt;&lt; v[i] &lt;&lt;&quot;   &quot;;
		}
		if(v.size()== 21)
		{
		 datei&lt;&lt;&quot;   &quot;&lt;&lt;v[i];
		}
</code></pre>
<p>aber es klappt nicht<br />
warum ich mit v.size() == x1,x2...<br />
@ Die Vektoren haben unterschiedliche lange</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2340453</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340453</guid><dc:creator><![CDATA[MaximGast]]></dc:creator><pubDate>Mon, 22 Jul 2013 16:47:33 GMT</pubDate></item><item><title><![CDATA[Reply to 1stellige Zahl zu 3 stellige zahl machen? on Tue, 23 Jul 2013 07:31:47 GMT]]></title><description><![CDATA[<p>Es hat alle geklappt wie es sein muss.<br />
So macht Programmierung spass<br />
Danke an alle <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/2340550</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2340550</guid><dc:creator><![CDATA[MaximGast]]></dc:creator><pubDate>Tue, 23 Jul 2013 07:31:47 GMT</pubDate></item></channel></rss>