<?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[Instanz von typedef char A lässt sich nicht erzeugen]]></title><description><![CDATA[<p>Hallo,<br />
warum lässt sich hier keine Instanz von A erzeugen?<br />
Es kommt die Fehlermeldung &quot;Fehler in der Deklarationssyntax&quot;.</p>
<pre><code class="language-cpp">class TForm1 : public TForm
{
__published:	// Von der IDE verwaltete Komponenten
private:	// Anwender-Deklarationen
public:		// Anwender-Deklarationen
     __fastcall TForm1(TComponent* Owner);
     typedef char A;
};

//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource &quot;*.dfm&quot;
A a;                         //Instanz erzeugen
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
     : TForm(Owner)
{

}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/89236/instanz-von-typedef-char-a-lässt-sich-nicht-erzeugen</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Jul 2026 01:13:50 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/89236.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 17 Oct 2004 21:44:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Instanz von typedef char A lässt sich nicht erzeugen on Sun, 17 Oct 2004 21:44:33 GMT]]></title><description><![CDATA[<p>Hallo,<br />
warum lässt sich hier keine Instanz von A erzeugen?<br />
Es kommt die Fehlermeldung &quot;Fehler in der Deklarationssyntax&quot;.</p>
<pre><code class="language-cpp">class TForm1 : public TForm
{
__published:	// Von der IDE verwaltete Komponenten
private:	// Anwender-Deklarationen
public:		// Anwender-Deklarationen
     __fastcall TForm1(TComponent* Owner);
     typedef char A;
};

//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource &quot;*.dfm&quot;
A a;                         //Instanz erzeugen
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
     : TForm(Owner)
{

}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/631173</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/631173</guid><dc:creator><![CDATA[hermes]]></dc:creator><pubDate>Sun, 17 Oct 2004 21:44:33 GMT</pubDate></item><item><title><![CDATA[Reply to Instanz von typedef char A lässt sich nicht erzeugen on Mon, 18 Oct 2004 04:31:04 GMT]]></title><description><![CDATA[<p>Du hast den Typ A innerhalb von TForm1 definiert. Wenn du ihn außerhalb benutzen willst, musst du TForm1::A schreiben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/631213</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/631213</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Mon, 18 Oct 2004 04:31:04 GMT</pubDate></item><item><title><![CDATA[Reply to Instanz von typedef char A lässt sich nicht erzeugen on Mon, 18 Oct 2004 06:30:40 GMT]]></title><description><![CDATA[<p>Und dann schau auch noch mal in den FAQs, was da bezüglich globaler Variablen so steht...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/631234</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/631234</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Mon, 18 Oct 2004 06:30:40 GMT</pubDate></item></channel></rss>