Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <string>
- class Person {
- public:
- person();
- person (string& n, string& v): nome(n), via(v) {}
- string getnome():{return nome;}
- string getvia(): {return via;}
- void setnome(string);
- void setvia(string);
- private:
- string nome, via;
- };
- #include <string>
- #include "Person.h"
- using namespace std;
- inline string Person::getnome() {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement