<?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[g++ Fehlermeldung]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich kompiliere</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;string&gt;

using namespace std;

class Cell
{
	private :	
		Cell *next;

	public :	
		// Konstruktor
		Cell() { next = NULL; }
		Cell(Cell *p) { next = p; }

		// Methode zum Setzen des Nachfolgers
		void SetNext(Cell *p) { next = p; }

		// Methode zum liefern des Nachfolgers
		Cell *GetNext(void) { return next; }

		// Ausgabe
		virtual void display(void) = 0;

                virtual ~Cell(){};
}

/*----------------------------------------------------------------------------*/

class BaseEl : public Cell
{

	private :	
		in[cpp]t prio;
		string name;

	public :
		BaseEl(int p, char *name) 
		{ prio = p; name = name; }

		BaseEl(int pr, string n, Cell *p) : Cell(p)
		{ prio = pr;  name = n; }

		void SetPriority(int n) { prio = n; }
		int GetPriority(void) { return prio; }
		void SetName(string n) { name = n; }
		string GetName(void) { return name; }

		// Ausgabe
		void display(void);		
}

/*----------------------------------------------------------------------------*/

class ListEl : public BaseEl
{

	private : 
		string anamnese;

	public :

		ListEl(string s, int p, char *name);
		ListEl(string s, int p, char *name, Cell *n);		

		// Anamnese bearbeiten
		void SetAnam(void);

		// Ausgabe
		 void display(void);
}

/*----------------------------------------------------------------------------*/

class PatientList
{
	private :
		Cell *first;
		int anz;

	public :
		Cell *GetFirst(void) { return first; }
		void SetFirst(Cell *f) { first = f; }
      	     	int GetAnz(void) { return anz; }

		// Erzeugt eine leere queue 
		void Create(void) { first = NULL; anz = 0; } /* HIER IST ZEILE 96!!! */

		// Atomare Operationen		
		void Insert(int p, string n);
		void Insert(int p, string n, string anam);
		void DeleteMax();		

		// Ausgabe
		void display(void);

		// Destruktor
		~PatientList();
}
</code></pre>
<p>mit g++-4.0 und bekomme</p>
<pre><code>PrioQeue.h:96: Fehler: expected unqualified-id at end of input
</code></pre>
<p>als Fehlermeldung.</p>
<p>Was bezeichnet eine unqualified-id ?</p>
<p>Danke für Eure Antworten!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/163525/g-fehlermeldung</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 04:20:24 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/163525.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Oct 2006 15:10:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to g++ Fehlermeldung on Mon, 30 Oct 2006 15:10:10 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich kompiliere</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;string&gt;

using namespace std;

class Cell
{
	private :	
		Cell *next;

	public :	
		// Konstruktor
		Cell() { next = NULL; }
		Cell(Cell *p) { next = p; }

		// Methode zum Setzen des Nachfolgers
		void SetNext(Cell *p) { next = p; }

		// Methode zum liefern des Nachfolgers
		Cell *GetNext(void) { return next; }

		// Ausgabe
		virtual void display(void) = 0;

                virtual ~Cell(){};
}

/*----------------------------------------------------------------------------*/

class BaseEl : public Cell
{

	private :	
		in[cpp]t prio;
		string name;

	public :
		BaseEl(int p, char *name) 
		{ prio = p; name = name; }

		BaseEl(int pr, string n, Cell *p) : Cell(p)
		{ prio = pr;  name = n; }

		void SetPriority(int n) { prio = n; }
		int GetPriority(void) { return prio; }
		void SetName(string n) { name = n; }
		string GetName(void) { return name; }

		// Ausgabe
		void display(void);		
}

/*----------------------------------------------------------------------------*/

class ListEl : public BaseEl
{

	private : 
		string anamnese;

	public :

		ListEl(string s, int p, char *name);
		ListEl(string s, int p, char *name, Cell *n);		

		// Anamnese bearbeiten
		void SetAnam(void);

		// Ausgabe
		 void display(void);
}

/*----------------------------------------------------------------------------*/

class PatientList
{
	private :
		Cell *first;
		int anz;

	public :
		Cell *GetFirst(void) { return first; }
		void SetFirst(Cell *f) { first = f; }
      	     	int GetAnz(void) { return anz; }

		// Erzeugt eine leere queue 
		void Create(void) { first = NULL; anz = 0; } /* HIER IST ZEILE 96!!! */

		// Atomare Operationen		
		void Insert(int p, string n);
		void Insert(int p, string n, string anam);
		void DeleteMax();		

		// Ausgabe
		void display(void);

		// Destruktor
		~PatientList();
}
</code></pre>
<p>mit g++-4.0 und bekomme</p>
<pre><code>PrioQeue.h:96: Fehler: expected unqualified-id at end of input
</code></pre>
<p>als Fehlermeldung.</p>
<p>Was bezeichnet eine unqualified-id ?</p>
<p>Danke für Eure Antworten!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164562</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164562</guid><dc:creator><![CDATA[curry-king]]></dc:creator><pubDate>Mon, 30 Oct 2006 15:10:10 GMT</pubDate></item><item><title><![CDATA[Reply to g++ Fehlermeldung on Mon, 30 Oct 2006 15:14:05 GMT]]></title><description><![CDATA[<p>Du hast das Semikolon am Ende der Klassendefinitionen vergessen:</p>
<pre><code class="language-cpp">class Cell
{
  ...
};//&lt;- ganz wichtig
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1164564</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164564</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 30 Oct 2006 15:14:05 GMT</pubDate></item><item><title><![CDATA[Reply to g++ Fehlermeldung on Mon, 30 Oct 2006 15:20:59 GMT]]></title><description><![CDATA[<p>Danke schön <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164573</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164573</guid><dc:creator><![CDATA[curry-king]]></dc:creator><pubDate>Mon, 30 Oct 2006 15:20:59 GMT</pubDate></item></channel></rss>