Website Summary Files Commits Branches @commit @diff @stats
path: root / Big4 / InformaticsStudent.cpp
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rw-r--r--Big4/InformaticsStudent.cpp4
diff --git a/Big4/InformaticsStudent.cpp b/Big4/InformaticsStudent.cpp
index 3ab4ab4..e5f0a0f 100644
--- a/Big4/InformaticsStudent.cpp
+++ b/Big4/InformaticsStudent.cpp
@@ -69,7 +69,7 @@ void InformaticsStudent::setFn(int fn)
fn = 45000;
this->fn = fn;
}
-const InformaticsStudent::char* getName() const
+const char* InformaticsStudent::getName() const
{
return name;
}
@@ -78,7 +78,7 @@ int InformaticsStudent::getFn() const
return fn;
}
-void printStudent()
+void InformaticsStudent::printStudent()
{
cout << name << " fn: " << fn << endl;
}