SHARE
TWEET

Header-Datei

a guest Nov 14th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Autor: Mahir Turan
  2. //Datum: 14.11.2019
  3. //Prakitkum 06.1
  4. //Das Programm lässt den Nutzer Fächer und Noten eingeben, speichert diesen daraufhin und vergleicht sie zum Schluss
  5. //HEADER-DATEI
  6.  
  7. #ifndef MODULE_H
  8. #define MODULE_H
  9. #include <iostream>
  10. #include <string>
  11. #include <vector>
  12.  
  13.  
  14.  
  15. using std::cin;
  16. using std::cout;
  17. using std::endl;
  18. using std::string;
  19. using std::vector;
  20.  
  21.  
  22. class Module {
  23. public:
  24.     Module(string n, float g);
  25.     float getGrade();
  26.     string getName();
  27.  
  28.         private:
  29.     string name;
  30.     float grade;
  31. };
  32.  
  33. #endif // MODULE_H
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top