consolidate all repos to one for archive
This commit is contained in:
7
semester_2/programiranje_2/naloga1001/Artist.cpp
Normal file
7
semester_2/programiranje_2/naloga1001/Artist.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "Artist.h"
|
||||
|
||||
Artist::Artist(std::string name, std::string biography, unsigned int day, unsigned int month, unsigned int year) : name(name), biography(biography), dateOfBirth(day, month, year){}
|
||||
|
||||
std::string Artist::toString() const {
|
||||
return name + ", " + biography + ", " + dateOfBirth.toString();
|
||||
}
|
||||
Reference in New Issue
Block a user