Created
February 12, 2019 22:50
-
-
Save alvesoaj/ea778c5f2edb75e1780b2f7d82bb5bf7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Implementação da classe Pessoa: Pessoa.cpp | |
| */ | |
| #include "Pessoa.h" | |
| Pessoa::Pessoa(){}; | |
| void Pessoa::setNome(string nome) | |
| { | |
| this->nome = nome; | |
| } | |
| string Pessoa::getNome() | |
| { | |
| return this->nome; | |
| } | |
| void Pessoa::setIdade(int idade) | |
| { | |
| this->idade = idade; | |
| } | |
| int Pessoa::getIdade() | |
| { | |
| return this->idade; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment