<?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[mixed C: Funktionen ohne Klasse]]></title><description><![CDATA[<p>Hallo,</p>
<p>'ne Anfängerfrage:</p>
<p>Ich habe ein C-Projekt und muss jetzt einzelne Dateien in C++ einfügen.</p>
<p>Ich brauche dafür keine Klassen, sondern einfach Funktionen in C++.<br />
Wie verhalten sich die Funktionen dann bezüglich static etc.?<br />
Ist das alles gleich wie in C?</p>
<pre><code>/* nur in dieser Datei sichtbar? */
static int foo()
{...}

/* fuer alle sichtbar */
int bar()
{
   foo()
}

// extern C steht im Header
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/338533/mixed-c-funktionen-ohne-klasse</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 11:52:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/338533.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Jun 2016 08:27:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to mixed C: Funktionen ohne Klasse on Wed, 22 Jun 2016 08:27:52 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>'ne Anfängerfrage:</p>
<p>Ich habe ein C-Projekt und muss jetzt einzelne Dateien in C++ einfügen.</p>
<p>Ich brauche dafür keine Klassen, sondern einfach Funktionen in C++.<br />
Wie verhalten sich die Funktionen dann bezüglich static etc.?<br />
Ist das alles gleich wie in C?</p>
<pre><code>/* nur in dieser Datei sichtbar? */
static int foo()
{...}

/* fuer alle sichtbar */
int bar()
{
   foo()
}

// extern C steht im Header
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2499727</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2499727</guid><dc:creator><![CDATA[olpo]]></dc:creator><pubDate>Wed, 22 Jun 2016 08:27:52 GMT</pubDate></item><item><title><![CDATA[Reply to mixed C: Funktionen ohne Klasse on Wed, 22 Jun 2016 08:40:09 GMT]]></title><description><![CDATA[<p>Ja</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2499728</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2499728</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Wed, 22 Jun 2016 08:40:09 GMT</pubDate></item></channel></rss>