Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Cliente.h"
- Cliente::Cliente(ifstream & in){
- // A IMPLEMENTAR
- }
- string Cliente::getNome() const{
- return nome;
- }
- void Cliente::setId(string idRead) { // doconstrutor that gonna be alterning the values to rescrive on atribute of Object class
- id = stoi(idRead);
- }
- void Cliente::setNome(string nameRead)
- {
- nome = nameRead;
- }
- void Cliente::setVolCompras(string amountRead)
- {
- volCompras = stof(amountRead);
- }
- unsigned int Cliente::getId() const{
- return id;
- }
- float Cliente::getVolCompras() const{
- return volCompras;
- }
- void Cliente::save(ofstream & out) const{
- // A IMPLEMENTAR
- }
- ostream& operator<<(ostream& out, const Cliente & cli){
- // A IMPLEMENTAR
- }
- bool operator<(const Cliente &cli1, const Cliente &cli2){
- // A IMPLEMENTAR
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement