<?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[keyword interface]]></title><description><![CDATA[<p>hallo leute</p>
<p>ist 'interface' ein c++ keyword ?<br />
ich weiß das MS VC __interface als eignes keyword hat, aber interface ?<br />
hab nen source bekommen, den ich bei mir einbinden wollte, der hat jedoch einen namespace 'interface' wo pure virtual classes definiert sind.<br />
VC2015 gibt mir da aber beim kompilieren</p>
<pre><code>error C2059: Syntaxfehler: &quot;&lt;class-head&gt;&quot;
</code></pre>
<p>aus.</p>
<p>Meep Meep</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/334722/keyword-interface</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 06:34:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/334722.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Oct 2015 20:47:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to keyword interface on Mon, 05 Oct 2015 20:47:27 GMT]]></title><description><![CDATA[<p>hallo leute</p>
<p>ist 'interface' ein c++ keyword ?<br />
ich weiß das MS VC __interface als eignes keyword hat, aber interface ?<br />
hab nen source bekommen, den ich bei mir einbinden wollte, der hat jedoch einen namespace 'interface' wo pure virtual classes definiert sind.<br />
VC2015 gibt mir da aber beim kompilieren</p>
<pre><code>error C2059: Syntaxfehler: &quot;&lt;class-head&gt;&quot;
</code></pre>
<p>aus.</p>
<p>Meep Meep</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2469958</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2469958</guid><dc:creator><![CDATA[Meep Meep]]></dc:creator><pubDate>Mon, 05 Oct 2015 20:47:27 GMT</pubDate></item><item><title><![CDATA[Reply to keyword interface on Mon, 05 Oct 2015 21:17:01 GMT]]></title><description><![CDATA[<p>Nein ist kein Keyword und mein VS2015 nimmt es als Name für ein Namespace. Möglicherweise irgendein Header wo auch irgendwas interface heißt? Kannst du ein Minimalbeispiel posten?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2469961</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2469961</guid><dc:creator><![CDATA[sebi707]]></dc:creator><pubDate>Mon, 05 Oct 2015 21:17:01 GMT</pubDate></item><item><title><![CDATA[Reply to keyword interface on Mon, 05 Oct 2015 21:27:12 GMT]]></title><description><![CDATA[<pre><code>#include &lt;Windows.h&gt;

namespace interface
{
   int quad(int i) { return i*i; }
}

auto WINAPI WinMain(HINSTANCE, HINSTANCE, char*, int) -&gt; int
{
   interface::quad(2);

   return 0; 
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2469963</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2469963</guid><dc:creator><![CDATA[Meep Meep]]></dc:creator><pubDate>Mon, 05 Oct 2015 21:27:12 GMT</pubDate></item><item><title><![CDATA[Reply to keyword interface on Mon, 05 Oct 2015 21:46:19 GMT]]></title><description><![CDATA[<p>Das Problem kommt durch den <code>Windows.h</code> Header. In der <code>BaseTyps.h</code> steht folgendes:</p>
<pre><code>#define __STRUCT__ struct
#define interface __STRUCT__
</code></pre>
<p>Ich hab aber noch nicht rausgefunden wie der Header geladen wird und ob man das irgendwie loswerden kann. Zur Not ein <code>#undef</code> .</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2469965</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2469965</guid><dc:creator><![CDATA[sebi707]]></dc:creator><pubDate>Mon, 05 Oct 2015 21:46:19 GMT</pubDate></item><item><title><![CDATA[Reply to keyword interface on Mon, 05 Oct 2015 21:50:56 GMT]]></title><description><![CDATA[<p>Ein <code>#define WIN32_LEAN_AND_MEAN</code> vor dem Include von <code>Windows.h</code> scheint zu schon reichen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2469967</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2469967</guid><dc:creator><![CDATA[sebi707]]></dc:creator><pubDate>Mon, 05 Oct 2015 21:50:56 GMT</pubDate></item><item><title><![CDATA[Reply to keyword interface on Mon, 05 Oct 2015 21:53:16 GMT]]></title><description><![CDATA[<p>hmm<br />
bei mir kann ich ueber das kontextmenu nicht auf die definition springen wenn ich interface anklicke. dachte daher das es ein eingebautes keyword von VC ist.<br />
MS und die verdammten #defines gehen mir tierisch auf die nerven</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2469968</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2469968</guid><dc:creator><![CDATA[Meep Meep]]></dc:creator><pubDate>Mon, 05 Oct 2015 21:53:16 GMT</pubDate></item></channel></rss>