Website Summary Files Commits Branches @commit @diff @stats
path: root / Big4 / InformaticsStudent.cpp
diff options
context:
space:
mode:
Commit6b293cb247fee4645820f37b1c59565ffa22470b (patch)
Author
 Angeld55 <achi_d@abv.bg>
2019-09-19 02:34:43 +0300
Committer
 GitHub <noreply@github.com>
2019-09-19 02:34:43 +0300
Filesf170db41744d7a7f84b7b3c167728e9ee7db1d88 /Big4/InformaticsStudent.cpp
Object-oriented_programming_FMI-6b293cb247fee4645820f37b1c59565ffa22470b.tar
Object-oriented_programming_FMI-6b293cb247fee4645820f37b1c59565ffa22470b.tar.gz
Object-oriented_programming_FMI-6b293cb247fee4645820f37b1c59565ffa22470b.zip
Parent765b95508c7968281a95ea752cf5809cc14509b3 (diff)
Update InformaticsStudent.cpp
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;
}