Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. -------------------MIDIA.H--------------------------
  2.  
  3. class Midia
  4. {
  5. private:
  6.     string titulo;
  7. public:
  8.     string getTitulo();
  9.     void setTitulo(string);
  10. };
  11.  
  12.  
  13. ---------------------Midia.cpp--------------------------
  14.  
  15. string Midia::getTitulo()
  16. {
  17.     return titulo;
  18. }
  19.  
  20. void Midia::setTitulo(string t)
  21. {
  22.     titulo = t;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement