Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Autor: Mahir Turan
- //Datum: 14.11.2019
- //Prakitkum 06.1
- //Das Programm lässt den Nutzer Fächer und Noten eingeben, speichert diesen daraufhin und vergleicht sie zum Schluss
- //QUELL-DATEI.CPP
- #include <iostream>
- #include <string>
- #include <vector>
- #include "module.h"
- using std::cin;
- using std::cout;
- using std::endl;
- using std::string;
- using std::vector;
- Module::Module(string n, float g)
- {
- g = getGrade();
- n = getName();
- }
- float Module::getGrade() {
- //Getter-Funktion für die Note
- return grade;
- }
- string Module::getName() {
- //Getter-Funktion für das Fach
- return name;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement