<?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[Probleme mit libary]]></title><description><![CDATA[<p>Schreibe gerade an einem cms system:<br />
Habe nun folgendes problem.<br />
Index.cgi lässt nicht mehr kompilieren seit dem ich void formselect in eine klasse verfrachtet habe.</p>
<p>index.cpp</p>
<pre><code>#include &lt;iostream&gt;
#include &quot;index.h&quot;
#include &lt;dlfcn.h&gt;
#include &lt;tuxcms/css.h&gt;
#include &lt;tuxcms/libhtml++.h&gt;
#include &lt;string&gt;

using namespace std;

int main()
{
string sitename;
cout &lt;&lt; &quot;Content-Type:text/html\n\n&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;html&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;head&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;title&gt;&quot; &lt;&lt; sitename &lt;&lt; &quot;&lt;/title&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;/head&gt;&quot; &lt;&lt; endl;
htmlformselect formselect(&quot;Formselect1&quot;, &quot;[F]Forminput[/F] [F]Forminput1[/F] [F]Forminput2[/F]&quot;, &quot;GET&quot;);
libcssread();
cout &lt;&lt; &quot;&lt;body&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;h1&gt;&lt;em&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;Im Aufbau&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;/em&gt;&lt;/h1&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;/body&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;/html&gt;&quot;;
}
</code></pre>
<p>lihtmlform<br />
libhtml++.h</p>
<pre><code>class htmlformselect
{

public:
void anfrage( );
void formselect(const std::string formselectname, std::string formselectinput, std::string methodform );
};

void libcssread();
</code></pre>
<p>formselect.cpp</p>
<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;fstream&gt;
#include &lt;stdio.h&gt;
#include &lt;cstdlib&gt;
#include &quot;include/libhtml++.h&quot;

using namespace std;

void htmlformselect::formselect(const std::string formselectname, std::string formselectinput, std::string methodform )
{

string formselectinputprint(formselectinput);
     int pos = 0;
     do
     {
          pos = formselectinputprint.find(&quot;[F]&quot;);
          if(pos != string::npos)
                formselectinputprint.replace(pos,strlen(&quot;[F]&quot;),&quot;&lt;option&gt;&quot;);
     }
     while(pos != string::npos);

     do
     {
          pos = formselectinputprint.find(&quot;[/F]&quot;);
          if(pos != string::npos)
                formselectinputprint.replace(pos,strlen(&quot;[/F]&quot;),&quot;&lt;/option&gt;&quot;);
     }
     while(pos != string::npos);

cout &lt;&lt; &quot;&lt;select name=&quot; &lt;&lt; '&quot;' &lt;&lt; formselectname &lt;&lt; '&quot;' &lt;&lt; formselectinputprint &lt;&lt; &quot;method=&quot; &lt;&lt; '&quot;' &lt;&lt; methodform &lt;&lt; '&quot;' &lt;&lt; &quot;action=&quot;
&lt;&lt; '&quot;' &lt;&lt; &quot;http://tuxist.de/cgi-bin/index.cgi&quot; &lt;&lt; '&quot;' &lt;&lt; &quot;&gt;&quot; &lt;&lt; endl;
}
</code></pre>
<p>kompletter source code in <a href="ftp://tuxist.de/tuxist/tuxcms" rel="nofollow">ftp://tuxist.de/tuxist/tuxcms</a></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/173668/probleme-mit-libary</link><generator>RSS for Node</generator><lastBuildDate>Fri, 18 Sep 2026 09:32:20 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/173668.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Feb 2007 17:51:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Probleme mit libary on Sun, 18 Feb 2007 17:58:49 GMT]]></title><description><![CDATA[<p>Schreibe gerade an einem cms system:<br />
Habe nun folgendes problem.<br />
Index.cgi lässt nicht mehr kompilieren seit dem ich void formselect in eine klasse verfrachtet habe.</p>
<p>index.cpp</p>
<pre><code>#include &lt;iostream&gt;
#include &quot;index.h&quot;
#include &lt;dlfcn.h&gt;
#include &lt;tuxcms/css.h&gt;
#include &lt;tuxcms/libhtml++.h&gt;
#include &lt;string&gt;

using namespace std;

int main()
{
string sitename;
cout &lt;&lt; &quot;Content-Type:text/html\n\n&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;html&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;head&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;title&gt;&quot; &lt;&lt; sitename &lt;&lt; &quot;&lt;/title&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;/head&gt;&quot; &lt;&lt; endl;
htmlformselect formselect(&quot;Formselect1&quot;, &quot;[F]Forminput[/F] [F]Forminput1[/F] [F]Forminput2[/F]&quot;, &quot;GET&quot;);
libcssread();
cout &lt;&lt; &quot;&lt;body&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;h1&gt;&lt;em&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;Im Aufbau&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;/em&gt;&lt;/h1&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;/body&gt;&quot; &lt;&lt; endl
     &lt;&lt; &quot;&lt;/html&gt;&quot;;
}
</code></pre>
<p>lihtmlform<br />
libhtml++.h</p>
<pre><code>class htmlformselect
{

public:
void anfrage( );
void formselect(const std::string formselectname, std::string formselectinput, std::string methodform );
};

void libcssread();
</code></pre>
<p>formselect.cpp</p>
<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;fstream&gt;
#include &lt;stdio.h&gt;
#include &lt;cstdlib&gt;
#include &quot;include/libhtml++.h&quot;

using namespace std;

void htmlformselect::formselect(const std::string formselectname, std::string formselectinput, std::string methodform )
{

string formselectinputprint(formselectinput);
     int pos = 0;
     do
     {
          pos = formselectinputprint.find(&quot;[F]&quot;);
          if(pos != string::npos)
                formselectinputprint.replace(pos,strlen(&quot;[F]&quot;),&quot;&lt;option&gt;&quot;);
     }
     while(pos != string::npos);

     do
     {
          pos = formselectinputprint.find(&quot;[/F]&quot;);
          if(pos != string::npos)
                formselectinputprint.replace(pos,strlen(&quot;[/F]&quot;),&quot;&lt;/option&gt;&quot;);
     }
     while(pos != string::npos);

cout &lt;&lt; &quot;&lt;select name=&quot; &lt;&lt; '&quot;' &lt;&lt; formselectname &lt;&lt; '&quot;' &lt;&lt; formselectinputprint &lt;&lt; &quot;method=&quot; &lt;&lt; '&quot;' &lt;&lt; methodform &lt;&lt; '&quot;' &lt;&lt; &quot;action=&quot;
&lt;&lt; '&quot;' &lt;&lt; &quot;http://tuxist.de/cgi-bin/index.cgi&quot; &lt;&lt; '&quot;' &lt;&lt; &quot;&gt;&quot; &lt;&lt; endl;
}
</code></pre>
<p>kompletter source code in <a href="ftp://tuxist.de/tuxist/tuxcms" rel="nofollow">ftp://tuxist.de/tuxist/tuxcms</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1230735</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1230735</guid><dc:creator><![CDATA[Tuxist]]></dc:creator><pubDate>Sun, 18 Feb 2007 17:58:49 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit libary on Sun, 18 Feb 2007 18:45:19 GMT]]></title><description><![CDATA[<p>Tuxist schrieb:</p>
<blockquote>
<p>Schreibe gerade an einem cms system:<br />
Habe nun folgendes problem.<br />
Index.cgi lässt nicht mehr kompilieren seit dem ich void formselect in eine klasse verfrachtet habe.</p>
</blockquote>
<p>Schön ... und wie sollen wir Dir helfen, wenn Du uns nicht verrätst, an welcher Zeile der Compiler welche Fehlermeldung ausspuckt. Hilfreich wäre auch die Angabe des verwendeten Compilers.</p>
<p>und [C/C++]-Tags sind besser für C++-Code als [Code]-Tags.</p>
<p>Gruß<br />
Werner</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1230784</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1230784</guid><dc:creator><![CDATA[Werner Salomon]]></dc:creator><pubDate>Sun, 18 Feb 2007 18:45:19 GMT</pubDate></item></channel></rss>