<?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[Code Umstellung VB -&amp;gt; C++ (war: Code Umstellung)]]></title><description><![CDATA[<p>Hallo</p>
<p>habe einen Code aus VB6. wie stelle ich diesen für C++ um ?</p>
<pre><code>Public Function nTageZugang(ByVal DatumVorgabe As String, _
                            ByVal TageVorgabe As Short, _
                   Optional ByRef NochTage As String = &quot;&quot;, _
                   Optional ByRef Ablaufdatum As String = &quot;&quot; _
                            ) As Boolean
..
..
End Function
</code></pre>
<p>Gruß Siegfried</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>
<p><strong>Edit:</strong><br />
Bitte aussagekräftige Überschriften wählen, und die <strong><a href="http://c-plusplus.net/forum/faq.php?mode=bbcode" rel="nofollow">Code-Tags</a></strong> benutzen. Danke!<br />
. Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/103825/code-umstellung-vb-gt-c-war-code-umstellung</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 13:42:56 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/103825.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 13 Mar 2005 15:44:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Code Umstellung VB -&amp;gt; C++ (war: Code Umstellung) on Sun, 13 Mar 2005 22:08:26 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>habe einen Code aus VB6. wie stelle ich diesen für C++ um ?</p>
<pre><code>Public Function nTageZugang(ByVal DatumVorgabe As String, _
                            ByVal TageVorgabe As Short, _
                   Optional ByRef NochTage As String = &quot;&quot;, _
                   Optional ByRef Ablaufdatum As String = &quot;&quot; _
                            ) As Boolean
..
..
End Function
</code></pre>
<p>Gruß Siegfried</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>
<p><strong>Edit:</strong><br />
Bitte aussagekräftige Überschriften wählen, und die <strong><a href="http://c-plusplus.net/forum/faq.php?mode=bbcode" rel="nofollow">Code-Tags</a></strong> benutzen. Danke!<br />
. Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/743747</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/743747</guid><dc:creator><![CDATA[Beppo]]></dc:creator><pubDate>Sun, 13 Mar 2005 22:08:26 GMT</pubDate></item><item><title><![CDATA[Reply to Code Umstellung VB -&amp;gt; C++ (war: Code Umstellung) on Sun, 13 Mar 2005 16:08:44 GMT]]></title><description><![CDATA[<p>Boolean __fastcall nTageZugang(AnsiString DatumVorgabe, Short TageVorgabe,<br />
AnsiString &amp;NochTage,AnsiString &amp;Ablaufdatum)</p>
<p>ungefaehr so.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/743760</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/743760</guid><dc:creator><![CDATA[DerAltenburger]]></dc:creator><pubDate>Sun, 13 Mar 2005 16:08:44 GMT</pubDate></item><item><title><![CDATA[Reply to Code Umstellung VB -&amp;gt; C++ (war: Code Umstellung) on Sun, 13 Mar 2005 16:49:41 GMT]]></title><description><![CDATA[<p>hallo,</p>
<p>vielen Dank für deine schnelle Hilfe.<br />
habe jetzt noch eine Frage:</p>
<p>mit &quot; nTageZugang(&quot;dv&quot;, 1, St01, St02); &quot; rufe ich die Prozedur auf, wobei<br />
St01 + St02 als AnsiString declariert sind.</p>
<p>a: wie weise ich innerhalb der Prozedur dem Wert Boolean True oder False zu</p>
<p>b: wie frage ich den Wert Boolean in der Zeile &quot; nTageZugang(&quot;dv&quot;, 1,<br />
St01, St02); &quot; aus, ob dieser von der Procedur false oder true ist.</p>
<p>Gruß Siegfried</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/743801</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/743801</guid><dc:creator><![CDATA[Beppo]]></dc:creator><pubDate>Sun, 13 Mar 2005 16:49:41 GMT</pubDate></item><item><title><![CDATA[Reply to Code Umstellung VB -&amp;gt; C++ (war: Code Umstellung) on Sun, 13 Mar 2005 17:31:28 GMT]]></title><description><![CDATA[<p>Die Funktion an sich kann keinen Bool-Wert annehmen. Du musst zu begin der Funktion ein</p>
<pre><code class="language-cpp">bool myBool=false;
</code></pre>
<p>machen und wenn die Funktion verlassen wird ein</p>
<pre><code class="language-cpp">return myBool;
</code></pre>
<p>Aso, fast vergessen: Nutzen kannst du den Rückgabewert dann so:</p>
<pre><code class="language-cpp">if(nTageZugang(&quot;dv&quot;, 1, St01, St02)==true)
{
//Hier dein Quelltext
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/743815</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/743815</guid><dc:creator><![CDATA[-**xXx**-]]></dc:creator><pubDate>Sun, 13 Mar 2005 17:31:28 GMT</pubDate></item><item><title><![CDATA[Reply to Code Umstellung VB -&amp;gt; C++ (war: Code Umstellung) on Sun, 13 Mar 2005 17:57:03 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/8189">@Beppo</a><br />
wie wärs, wenn du dir mal ein C++ Tutorial anschaust? Das ist nämlich alles Grundwissen, und nicht mal BCB-Grundwissen.<br />
Sonst wirst du nicht weiterkommen.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/743844</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/743844</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sun, 13 Mar 2005 17:57:03 GMT</pubDate></item><item><title><![CDATA[Reply to Code Umstellung VB -&amp;gt; C++ (war: Code Umstellung) on Mon, 14 Mar 2005 11:00:39 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Danke für die Infos. Muß noch viel lesen, lernen und fragen.</p>
<p>Gruß Siegfried</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/744250</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/744250</guid><dc:creator><![CDATA[Beppo]]></dc:creator><pubDate>Mon, 14 Mar 2005 11:00:39 GMT</pubDate></item></channel></rss>