<?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[Entlos funktion]]></title><description><![CDATA[<p>Ich haben folgens zusammen gebaut:</p>
<pre><code class="language-cpp">bool CHalfLifeSerialEditDlg::OnRadioCs() 
{
    int uebergabe = 0;

    CString CSKey$ = ReadKey(HKEY_CURRENT_USER,&quot;Software\\Valve\\CounterStrike\\Settings&quot;,&quot;Key&quot;);
    CSKey$.Replace(&quot;-&quot;,&quot;&quot;);

    if (CSKey$ != &quot;&quot;)
    {
        GetDlgItem(IDC_EDIT_KEYP1)-&gt;SetWindowText(CSKey$.Left(4));
        GetDlgItem(IDC_EDIT_KEYP2)-&gt;SetWindowText(CSKey$.Mid(4,5));
        GetDlgItem(IDC_EDIT_KEYP3)-&gt;SetWindowText(CSKey$.Right(4));

        uebergabe = 1;
    }
    else
    {
        Checkbool();

        uebergabe = 0;
    }
    return (uebergabe);
}

bool CHalfLifeSerialEditDlg::OnRadioHl() 
{
    int uebergabe = 0;

    CString HLKey$ = ReadKey(HKEY_CURRENT_USER,&quot;Software\\Valve\\Half-Life\\Settings&quot;,&quot;Key&quot;);
    HLKey$.Replace(&quot;-&quot;,&quot;&quot;);

    if (HLKey$ != &quot;&quot;)
    {
        MessageBox(&quot;HLKEY DA&quot;);

        GetDlgItem(IDC_EDIT_KEYP1)-&gt;SetWindowText(HLKey$.Left(4));
        GetDlgItem(IDC_EDIT_KEYP2)-&gt;SetWindowText(HLKey$.Mid(4,5));
        GetDlgItem(IDC_EDIT_KEYP3)-&gt;SetWindowText(HLKey$.Right(4));

        uebergabe = 1;
    }
    else
    {
        Checkbool();

        uebergabe = 0;
    }

    return (uebergabe);

void CHalfLifeSerialEditDlg::Checkbool()
{
    if (OnRadioHl() == 0 || OnRadioCs() == 0)
    {
        GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Es wurde weder ein CS noch ein HL CD-Key gefunden.\nAls einzutragendes Spiel wirt CS gewählt.&quot;);

        CButton *pRadiobuttonHL = (CButton*) GetDlgItem(IDC_RADIO_HL);
        pRadiobuttonHL-&gt;SetCheck(0);

        CButton *pRadiobuttonCS = (CButton*) GetDlgItem(IDC_RADIO_CS);
        pRadiobuttonCS-&gt;SetCheck(1);

        OnRadioCs();
    }
    else if (OnRadioHl() == 1 || OnRadioCs() == 1)
    {
        GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Es wurde ein CS und ein HL CD-Key gefunden.\nAls einzutragendes Spiel wirt CS gewählt.&quot;);

        CButton *pRadiobuttonHL = (CButton*) GetDlgItem(IDC_RADIO_HL);
        pRadiobuttonHL-&gt;SetCheck(0);

        CButton *pRadiobuttonCS = (CButton*) GetDlgItem(IDC_RADIO_CS);
        pRadiobuttonCS-&gt;SetCheck(1);

        OnRadioCs();
    }
    else if (OnRadioHl() == 0 || OnRadioCs() == 1)
    {
        GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Es wurde nur ein CS CD-Key gefunden.\nAls einzutragendes Spiel wirt CS gewählt.&quot;);

        CButton *pRadiobuttonHL = (CButton*) GetDlgItem(IDC_RADIO_HL);
        pRadiobuttonHL-&gt;SetCheck(0);

        CButton *pRadiobuttonCS = (CButton*) GetDlgItem(IDC_RADIO_CS);
        pRadiobuttonCS-&gt;SetCheck(1);

        OnRadioCs();

    }
    else if (OnRadioHl() == 1 || OnRadioCs() == 0)
    {
        GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Es wurde nur ein HL CD-Key gefunden.\nAls einzutragendes Spiel wirt HL gewählt.&quot;);

        CButton *pRadiobuttonHL = (CButton*) GetDlgItem(IDC_RADIO_HL);
        pRadiobuttonHL-&gt;SetCheck(1);

        CButton *pRadiobuttonCS = (CButton*) GetDlgItem(IDC_RADIO_CS);
        pRadiobuttonCS-&gt;SetCheck(0);

        OnRadioHl();

    }
    else
    {
        GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Das ist ein Fehler der garnicht möglich sein kann. Mh muss Memory fehler sein.&quot;);
    }
}
}
</code></pre>
<p>SO das aluft jetzt entlos lange wenn keiner der beiden keys vorhanden ist. Das soll er im prinzib nur 1 mal machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/5993/entlos-funktion</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 17:51:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/5993.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 30 May 2003 19:51:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Entlos funktion on Fri, 30 May 2003 19:51:00 GMT]]></title><description><![CDATA[<p>Ich haben folgens zusammen gebaut:</p>
<pre><code class="language-cpp">bool CHalfLifeSerialEditDlg::OnRadioCs() 
{
    int uebergabe = 0;

    CString CSKey$ = ReadKey(HKEY_CURRENT_USER,&quot;Software\\Valve\\CounterStrike\\Settings&quot;,&quot;Key&quot;);
    CSKey$.Replace(&quot;-&quot;,&quot;&quot;);

    if (CSKey$ != &quot;&quot;)
    {
        GetDlgItem(IDC_EDIT_KEYP1)-&gt;SetWindowText(CSKey$.Left(4));
        GetDlgItem(IDC_EDIT_KEYP2)-&gt;SetWindowText(CSKey$.Mid(4,5));
        GetDlgItem(IDC_EDIT_KEYP3)-&gt;SetWindowText(CSKey$.Right(4));

        uebergabe = 1;
    }
    else
    {
        Checkbool();

        uebergabe = 0;
    }
    return (uebergabe);
}

bool CHalfLifeSerialEditDlg::OnRadioHl() 
{
    int uebergabe = 0;

    CString HLKey$ = ReadKey(HKEY_CURRENT_USER,&quot;Software\\Valve\\Half-Life\\Settings&quot;,&quot;Key&quot;);
    HLKey$.Replace(&quot;-&quot;,&quot;&quot;);

    if (HLKey$ != &quot;&quot;)
    {
        MessageBox(&quot;HLKEY DA&quot;);

        GetDlgItem(IDC_EDIT_KEYP1)-&gt;SetWindowText(HLKey$.Left(4));
        GetDlgItem(IDC_EDIT_KEYP2)-&gt;SetWindowText(HLKey$.Mid(4,5));
        GetDlgItem(IDC_EDIT_KEYP3)-&gt;SetWindowText(HLKey$.Right(4));

        uebergabe = 1;
    }
    else
    {
        Checkbool();

        uebergabe = 0;
    }

    return (uebergabe);

void CHalfLifeSerialEditDlg::Checkbool()
{
    if (OnRadioHl() == 0 || OnRadioCs() == 0)
    {
        GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Es wurde weder ein CS noch ein HL CD-Key gefunden.\nAls einzutragendes Spiel wirt CS gewählt.&quot;);

        CButton *pRadiobuttonHL = (CButton*) GetDlgItem(IDC_RADIO_HL);
        pRadiobuttonHL-&gt;SetCheck(0);

        CButton *pRadiobuttonCS = (CButton*) GetDlgItem(IDC_RADIO_CS);
        pRadiobuttonCS-&gt;SetCheck(1);

        OnRadioCs();
    }
    else if (OnRadioHl() == 1 || OnRadioCs() == 1)
    {
        GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Es wurde ein CS und ein HL CD-Key gefunden.\nAls einzutragendes Spiel wirt CS gewählt.&quot;);

        CButton *pRadiobuttonHL = (CButton*) GetDlgItem(IDC_RADIO_HL);
        pRadiobuttonHL-&gt;SetCheck(0);

        CButton *pRadiobuttonCS = (CButton*) GetDlgItem(IDC_RADIO_CS);
        pRadiobuttonCS-&gt;SetCheck(1);

        OnRadioCs();
    }
    else if (OnRadioHl() == 0 || OnRadioCs() == 1)
    {
        GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Es wurde nur ein CS CD-Key gefunden.\nAls einzutragendes Spiel wirt CS gewählt.&quot;);

        CButton *pRadiobuttonHL = (CButton*) GetDlgItem(IDC_RADIO_HL);
        pRadiobuttonHL-&gt;SetCheck(0);

        CButton *pRadiobuttonCS = (CButton*) GetDlgItem(IDC_RADIO_CS);
        pRadiobuttonCS-&gt;SetCheck(1);

        OnRadioCs();

    }
    else if (OnRadioHl() == 1 || OnRadioCs() == 0)
    {
        GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Es wurde nur ein HL CD-Key gefunden.\nAls einzutragendes Spiel wirt HL gewählt.&quot;);

        CButton *pRadiobuttonHL = (CButton*) GetDlgItem(IDC_RADIO_HL);
        pRadiobuttonHL-&gt;SetCheck(1);

        CButton *pRadiobuttonCS = (CButton*) GetDlgItem(IDC_RADIO_CS);
        pRadiobuttonCS-&gt;SetCheck(0);

        OnRadioHl();

    }
    else
    {
        GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Das ist ein Fehler der garnicht möglich sein kann. Mh muss Memory fehler sein.&quot;);
    }
}
}
</code></pre>
<p>SO das aluft jetzt entlos lange wenn keiner der beiden keys vorhanden ist. Das soll er im prinzib nur 1 mal machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29125</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29125</guid><dc:creator><![CDATA[Heinz]]></dc:creator><pubDate>Fri, 30 May 2003 19:51:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Fri, 30 May 2003 20:15:00 GMT]]></title><description><![CDATA[<p>Ente gut, alles gut.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29126</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29126</guid><dc:creator><![CDATA[phlox81]]></dc:creator><pubDate>Fri, 30 May 2003 20:15:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Fri, 30 May 2003 21:43:00 GMT]]></title><description><![CDATA[<p>Das hilft mir nich grade weiter.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29127</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29127</guid><dc:creator><![CDATA[Heinz]]></dc:creator><pubDate>Fri, 30 May 2003 21:43:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Sun, 01 Jun 2003 13:22:00 GMT]]></title><description><![CDATA[<p>Tipp: Schau dir mal deine Klammerung an:</p>
<pre><code class="language-cpp">return (uebergabe);
// &lt;- Hmmm, fehlt hier nicht was???
void CHalfLifeSerialEditDlg::Checkbool()
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/29128</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29128</guid><dc:creator><![CDATA[Walli]]></dc:creator><pubDate>Sun, 01 Jun 2003 13:22:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Sun, 01 Jun 2003 14:32:00 GMT]]></title><description><![CDATA[<p>genau dort fehlt die geschlossen klammer;)) dann sollte es laufen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29129</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29129</guid><dc:creator><![CDATA[nukleuz]]></dc:creator><pubDate>Sun, 01 Jun 2003 14:32:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Mon, 02 Jun 2003 03:08:00 GMT]]></title><description><![CDATA[<p>Die } ist im Programm vorhanden habe ich nur beim Kopieren vergessen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29130</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29130</guid><dc:creator><![CDATA[Heinz]]></dc:creator><pubDate>Mon, 02 Jun 2003 03:08:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Mon, 02 Jun 2003 06:20:00 GMT]]></title><description><![CDATA[<p>Oha, also ein bissel Logik wäre hier schon angebracht!</p>
<p>-&gt; OnRadioCs()::Key==&quot;&quot; -&gt; Checkbool()::Key==&quot;&quot; -&gt; OnRadioCs()</p>
<p>Möglicherweise sind noch mehr solcher logischer Fehler drin!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29131</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29131</guid><dc:creator><![CDATA[RenéG]]></dc:creator><pubDate>Mon, 02 Jun 2003 06:20:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Mon, 02 Jun 2003 13:46:00 GMT]]></title><description><![CDATA[<p>Ich habe das jetzt mit einem zähler gemacht dasmit er das nur 1 mal durch geht. Aber irgent wie geht er nich mal da rein wo er auswählen soll welche check er setzten soll. Darum poste ich mal alles:</p>
<pre><code class="language-cpp">long CHalfLifeSerialEditDlg::checkreg(HKEY pfad,CString dir,CString keyreg)
{
    long uebergabe;

    // -1 = pfad oder dir ist falsch
    //  0 = nur key ist falsch
    //  1 = alles richtig

    char checkreg[256];
    DWORD dwCount = sizeof(checkreg);

    CRegKey key;
    if(key.Open( pfad, dir) == ERROR_FILE_NOT_FOUND)
    {
        uebergabe = -1;
    }
    else
    {
            if(key.QueryValue(checkreg, keyreg, &amp;dwCount) == ERROR_FILE_NOT_FOUND)
            {
                uebergabe = 0;
            }
            else
            {
                uebergabe = 1;
            }
    }
    key.Close();

    return (uebergabe);
}

CString CHalfLifeSerialEditDlg::ReadKey(HKEY pfad,CString dir,CString keyreg)
{
    CString uebergabe = &quot;&quot;;

    // 0 = Pfad wurde nicht gefunden

    long checkregs = checkreg(pfad, dir, keyreg);

    if (checkregs == 1)
    {
            char checkreg[256];
            DWORD dwCount = sizeof(checkreg);

            CRegKey key;
            key.Open( pfad, dir);
            key.QueryValue(checkreg, keyreg, &amp;dwCount);
            key.Close();

            uebergabe = checkreg;
    }

    return (uebergabe);
}

bool CHalfLifeSerialEditDlg::OnRadioCs() 
{
    int uebergabe = 0;

    CString CSKey$ = ReadKey(HKEY_CURRENT_USER,&quot;Software\\Valve\\CounterStrike\\Settings&quot;,&quot;Key&quot;);
    CSKey$.Replace(&quot;-&quot;,&quot;&quot;);

    if (CSKey$ != &quot;&quot;)
    {
        GetDlgItem(IDC_EDIT_KEYP1)-&gt;SetWindowText(CSKey$.Left(4));
        GetDlgItem(IDC_EDIT_KEYP2)-&gt;SetWindowText(CSKey$.Mid(4,5));
        GetDlgItem(IDC_EDIT_KEYP3)-&gt;SetWindowText(CSKey$.Right(4));

        uebergabe = 1;
    }
    else
    {
        uebergabe = 0;

        Checkbool();
    }
    return (uebergabe);
}

bool CHalfLifeSerialEditDlg::OnRadioHl() 
{
    int uebergabe = 0;

    CString HLKey$ = ReadKey(HKEY_CURRENT_USER,&quot;Software\\Valve\\Half-Life\\Settings&quot;,&quot;Key&quot;);
    HLKey$.Replace(&quot;-&quot;,&quot;&quot;);

    if (HLKey$ != &quot;&quot;)
    {
        GetDlgItem(IDC_EDIT_KEYP1)-&gt;SetWindowText(HLKey$.Left(4));
        GetDlgItem(IDC_EDIT_KEYP2)-&gt;SetWindowText(HLKey$.Mid(4,5));
        GetDlgItem(IDC_EDIT_KEYP3)-&gt;SetWindowText(HLKey$.Right(4));

        uebergabe = 1;
    }
    else
    {
        uebergabe = 0;

        Checkbool();
    }

    return (uebergabe);
}
void CHalfLifeSerialEditDlg::Checkbool()
{
    if (runcheck == 0)
    {
        if (OnRadioHl() == 0 || OnRadioCs() == 0)
        {
            GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Es wurde weder ein CS noch ein HL CD-Key gefunden.Als einzutragendes Spiel wirt CS gewählt.&quot;);

            CButton *pRadiobuttonHL = (CButton*) GetDlgItem(IDC_RADIO_HL);
            pRadiobuttonHL-&gt;SetCheck(0);

            CButton *pRadiobuttonCS = (CButton*) GetDlgItem(IDC_RADIO_CS);
            pRadiobuttonCS-&gt;SetCheck(1);

            MessageBox (&quot;Na&quot;);

            OnRadioCs();
        }
        else if (OnRadioHl() == 1 || OnRadioCs() == 1)
        {
            GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Es wurde ein CS und ein HL CD-Key gefunden.\nAls einzutragendes Spiel wirt CS gewählt.&quot;);

            CButton *pRadiobuttonHL = (CButton*) GetDlgItem(IDC_RADIO_HL);
            pRadiobuttonHL-&gt;SetCheck(0);

            CButton *pRadiobuttonCS = (CButton*) GetDlgItem(IDC_RADIO_CS);
            pRadiobuttonCS-&gt;SetCheck(1);

            OnRadioCs();
        }
        else if (OnRadioHl() == 0 || OnRadioCs() == 1)
        {
            GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Es wurde nur ein CS CD-Key gefunden.\nAls einzutragendes Spiel wirt CS gewählt.&quot;);

            CButton *pRadiobuttonHL = (CButton*) GetDlgItem(IDC_RADIO_HL);
            pRadiobuttonHL-&gt;SetCheck(0);

            CButton *pRadiobuttonCS = (CButton*) GetDlgItem(IDC_RADIO_CS);
            pRadiobuttonCS-&gt;SetCheck(1);

            OnRadioCs();

        }
        else if (OnRadioHl() == 1 || OnRadioCs() == 0)
        {
            GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Es wurde nur ein HL CD-Key gefunden.\nAls einzutragendes Spiel wirt HL gewählt.&quot;);

            CButton *pRadiobuttonHL = (CButton*) GetDlgItem(IDC_RADIO_HL);
            pRadiobuttonHL-&gt;SetCheck(1);

            CButton *pRadiobuttonCS = (CButton*) GetDlgItem(IDC_RADIO_CS);
            pRadiobuttonCS-&gt;SetCheck(0);

            OnRadioHl();

        }
        else
        {
            GetDlgItem(IDC_STATIC_NAVI)-&gt;SetWindowText(&quot;Das ist ein Fehler der garnicht möglich sein kann. Mh muss Memory fehler sein.&quot;);
        }
    }

    runcheck = 1;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/29132</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29132</guid><dc:creator><![CDATA[Heinz]]></dc:creator><pubDate>Mon, 02 Jun 2003 13:46:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Mon, 02 Jun 2003 20:42:00 GMT]]></title><description><![CDATA[<p>En(t)los oder doch eher en(d)los..... <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/29133</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29133</guid><dc:creator><![CDATA[-bla-]]></dc:creator><pubDate>Mon, 02 Jun 2003 20:42:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Mon, 02 Jun 2003 20:54:00 GMT]]></title><description><![CDATA[<p>ja ok du hast vollkommen recht. Aber habt ihr den keine Idee zu meinen Problem?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29134</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29134</guid><dc:creator><![CDATA[Heinz]]></dc:creator><pubDate>Mon, 02 Jun 2003 20:54:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Mon, 02 Jun 2003 20:59:00 GMT]]></title><description><![CDATA[<p>wo bleibst denn hängen - so laut debugger ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29135</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29135</guid><dc:creator><![CDATA[-bla-]]></dc:creator><pubDate>Mon, 02 Jun 2003 20:59:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Mon, 02 Jun 2003 21:55:00 GMT]]></title><description><![CDATA[<p>Lauf alles einwandfrei durch. Nur geht er nich darein wo er soll.</p>
<p>Ich lese ja folgender werte aus:</p>
<p>HKEY_CURRENT_USER,&quot;Software\\Valve\\CounterStrike\\Settings&quot;,&quot;Key&quot;<br />
und<br />
HKEY_CURRENT_USER,&quot;Software\\Valve\\Half-Life\\Settings&quot;,&quot;Key&quot;</p>
<p>Dies beiden Keys sind 100% nich auf meinem Rechner vorhanden. Demnach müsten OnRadioCs() und OnRadioHl() beide eine 0 zurück geben. Das heißt das der RadioButton IDC_RADIO_CS markiert würd und eine Ausgabe von &quot;Na&quot; als test gemacht wirt. Und nich zu vergessen IDC_STATIC_NAVI mit der Info füllt. Das erfolgt aber net. Das is meine Problem. Das is mein Program der rest is ja nur Deklaraion usw.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29136</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29136</guid><dc:creator><![CDATA[Heinz]]></dc:creator><pubDate>Mon, 02 Jun 2003 21:55:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Tue, 03 Jun 2003 04:25:00 GMT]]></title><description><![CDATA[<p>Ist dir klar, dass diese beiden:</p>
<p>if (OnRadioHl() == 0 || OnRadioCs() == 0)<br />
else if (OnRadioHl() == 1 || OnRadioCs() == 1)</p>
<p>nicht nur alle möglichen Fälle abdecken, sondern sich sogar überschneiden?</p>
<p>Ich würde auch empfehlen, OnRadioHl und OnRadioCs <em>einmal</em> am Anfang von Checkbool aufzurufen, und die Werte in zwei bool-Variablen zu speichern.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29137</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29137</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Tue, 03 Jun 2003 04:25:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Tue, 03 Jun 2003 09:23:00 GMT]]></title><description><![CDATA[<p>ich habe nich nur 2 möglichkeiten</p>
<p>ic habe</p>
<p>0 0<br />
1 1<br />
0 1<br />
und<br />
1 0</p>
<p>Das sind meiner Meinung nach alle möglich keiten. Oder was meinst du?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29138</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29138</guid><dc:creator><![CDATA[Heinz]]></dc:creator><pubDate>Tue, 03 Jun 2003 09:23:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Tue, 03 Jun 2003 09:28:00 GMT]]></title><description><![CDATA[<blockquote>
<p>Original erstellt von &lt;Heinz&gt;:<br />
<strong>Das sind meiner Meinung nach alle möglich keiten. Oder was meinst du?</strong></p>
</blockquote>
<p>Das ist richtig. Aber das erste if deckt bereits drei davon ab.<br />
Du schreibst ja OnRadioHl() == 0 || OnRadioCs() == 0.</p>
<p>Das trifft zu auf:<br />
0 0<br />
0 1<br />
1 0</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29139</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29139</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Tue, 03 Jun 2003 09:28:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Tue, 03 Jun 2003 10:30:00 GMT]]></title><description><![CDATA[<p>Stimmt das müssem überall &amp;&amp; hin stadt || aber das geht immer noch nicht. Das selbe Problem.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29140</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29140</guid><dc:creator><![CDATA[Heinz]]></dc:creator><pubDate>Tue, 03 Jun 2003 10:30:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Tue, 03 Jun 2003 11:15:00 GMT]]></title><description><![CDATA[<p>Setz Dir doch mal ein paar Breakpoints und lies die Inhalte deiner Variablen dann aus.... dann siehst Du doch warum gewisse Punkte nicht angesprungen werden!</p>
<p>...du weißt hoffentlich, wie man mit einem Debugger solchen Problemen auf den Grund geht, oder?</p>
<p>Scheinbar nicht...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29141</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29141</guid><dc:creator><![CDATA[Hepi]]></dc:creator><pubDate>Tue, 03 Jun 2003 11:15:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Tue, 03 Jun 2003 11:19:00 GMT]]></title><description><![CDATA[<p>Vielleicht sollten wir mal ein kleines Debugger-Tutorial oder wenigstens ein paar Links dazu in die FAQ aufnehmen... Naja, FAQ ist vielleicht ne blöde Idee weil man das nur mit Text nicht so einfach erklären kann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29142</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29142</guid><dc:creator><![CDATA[Walli]]></dc:creator><pubDate>Tue, 03 Jun 2003 11:19:00 GMT</pubDate></item><item><title><![CDATA[Reply to Entlos funktion on Tue, 03 Jun 2003 11:40:00 GMT]]></title><description><![CDATA[<p>Die Erkenntnisse des Artikels der <a href="http://www.c-plusplus.net/forum/topic,39301.html" rel="nofollow">hier</a> vorgestellt wird, sind zwar vordergründig für den Borland C++ Builder, lassen sich aber auch bestimmt auf MSVC übertragen... Die Mittel sind die Selben (und in MSVC meines Erachtens sogar z.T. bequemer).</p>
<p>-junix</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29143</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29143</guid><dc:creator><![CDATA[junix]]></dc:creator><pubDate>Tue, 03 Jun 2003 11:40:00 GMT</pubDate></item></channel></rss>