From f4065ab555c13aed4fbcfadecc620b05cd768f7c Mon Sep 17 00:00:00 2001 From: Angeld55 Date: Mon, 23 Sep 2019 23:53:06 +0300 Subject: Add files via upload --- Big4AndInheritance/Students/GradesBook.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Big4AndInheritance/Students/GradesBook.h') diff --git a/Big4AndInheritance/Students/GradesBook.h b/Big4AndInheritance/Students/GradesBook.h index c9ba8e9..e1dd262 100644 --- a/Big4AndInheritance/Students/GradesBook.h +++ b/Big4AndInheritance/Students/GradesBook.h @@ -1,3 +1,6 @@ +#pragma once +#include + class GradesBook { int* grades; @@ -19,6 +22,6 @@ public: void RemoveLastGrade(); int operator[](int index) const; - friend ostream& operator<<(ostream& stream, GradesBook& obj); + friend std::ostream& operator<<(std::ostream& stream, GradesBook& obj); }; -- cgit v1.3.1-23-gd82d