fixing definition of struct type in chained list
This commit is contained in:
parent
81482b8c5e
commit
4828771366
@ -281,12 +281,12 @@ int main(){
|
||||
|
||||
\begin{frame}[fragile]{Verkettete Listen}
|
||||
\begin{lstlisting}
|
||||
struct Node {
|
||||
struct node {
|
||||
int data;
|
||||
struct node* next; /* Typ Node hier nicht moeglich
|
||||
da erst spaeter definiert */
|
||||
};
|
||||
typedef struct Node Node;
|
||||
typedef struct node Node;
|
||||
|
||||
void beispiel() {
|
||||
// Erstellen von root
|
||||
|
Loading…
Reference in New Issue
Block a user