Für Vorlesungen, bitte die Webseite verwenden. https://flavigny.de/lecture
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

19 řádky
347B

  1. enum Kind {rational, complex};
  2. struct Rational { // rationale Zahl
  3. int n; int d;
  4. } ;
  5. struct Complex { // komplexe Zahl
  6. float re; float im;
  7. } ;
  8. union Combination { // vereinige beide
  9. Rational p; Complex c;
  10. } ;
  11. struct Mixed { // gemischte Zahl
  12. Kind a; // welche bist Du?
  13. Combination com; // benutze je nach Art
  14. } ;