consolidate all repos to one for archive
This commit is contained in:
28
semester_2/programiranje_2/naloga1102/Address.h
Normal file
28
semester_2/programiranje_2/naloga1102/Address.h
Normal file
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// Created by Nik on 20/05/2022.
|
||||
//
|
||||
|
||||
#ifndef NALOGA1101_ADDRESS_H
|
||||
#define NALOGA1101_ADDRESS_H
|
||||
|
||||
#include <string>
|
||||
|
||||
class Address {
|
||||
private:
|
||||
std::string street, post, country;
|
||||
|
||||
public:
|
||||
Address() = default;
|
||||
Address(std::string street, std::string post, std::string country);
|
||||
|
||||
std::string toString() const;
|
||||
|
||||
void setStreet(const std::string &street);
|
||||
|
||||
void setPost(const std::string &post);
|
||||
|
||||
void setCountry(const std::string &country);
|
||||
};
|
||||
|
||||
|
||||
#endif //NALOGA1101_ADDRESS_H
|
||||
Reference in New Issue
Block a user