diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7a4430f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/TE2/ diff --git a/TE2/Struktur(struct)/Struktur(struct).cpp b/TE2/Struktur(struct)/Struktur(struct).cpp index 7137261..ebae8d7 100644 --- a/TE2/Struktur(struct)/Struktur(struct).cpp +++ b/TE2/Struktur(struct)/Struktur(struct).cpp @@ -16,6 +16,14 @@ struct Person { float groesse; }; +// erstelle eine method ,die Person Obejkt übernimmt: +void printPersonDaten(Person person){ + + cout<< "Name: " << person.name<