Update klassenDiagramm authored by Michael Guist's avatar Michael Guist
......@@ -71,18 +71,7 @@ Die Klasse FB braucht einen Vector, der Pointer auf die Klasse Student enthält.
In Code umgesetzt ergeben sich folgende Strukturen:
// FB.h<p>
#ifndef FB_H_H<p>
#define FB_H_H<p>
#include "Student.h"<p>
class Student;<p>
<p>
class FB<p>
{<br>
std::vector<Studenten *> pStudenten;<br>
};<br>
#endif<p>
<p><p>
// Student.h<p>
#ifndef STUDENT_H_H<p>
#define STUDENT_H_H<p>
......@@ -97,16 +86,30 @@ class Student<p>
hieer folgt code
```
// FB.h
#ifndef FB_H_H
#define FB_H_H
#include "Studenten.h"
class Studenten;
#include "Student.h"
class Student;
class FB
{
std::vector<Studenten *> pStudenten;
std::vector<Student *> pStudent;
};
#endif
```
```
// Student.h
#ifndef STUDENTEN_H_H
#define STUDENTEN_H_H
#include "FB.h"
class FB;
class Studenten
{
FB* pFB;
};
#endif
```