Advertisement
Guest User

channel.cpp

a guest
Apr 26th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1. #include "channel.h"
  2. #include <iostream>
  3. channel::setChannelNum(int num){
  4.     channelNum = num;
  5. }
  6. channel::setShowTitle(std::string string1){
  7.     title = string1;
  8. }
  9. channel::getChannelNum(){
  10.     std::cout<< "Channel: " << channelNum << "\n";
  11. }
  12. channel::getChannelNum(int temp){
  13.     channelNum = temp;
  14.     std::cout<< "Channel: " << channelNum << "\n";
  15. }
  16. channel::getShowTitle(){
  17.     std::cout << "Now playing: " <<  title << "\n";
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement