Last active
August 8, 2018 09:42
-
-
Save gallirohik/76e0ff748a2745f09e56a09266611cb5 to your computer and use it in GitHub Desktop.
Myproject
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
| #include<iostream> | |
| #include<vector> | |
| #include "AllSongs.h"; | |
| #include "Song.h"; | |
| using namespace std; | |
| void AllSongs::displaySongs() | |
| { | |
| for(int i=0;i<count;i++) | |
| { | |
| Song s=this->Songs[i]; | |
| cout<<s.getName()<<endl; | |
| } | |
| } | |
| int AllSongs::AddSong(Song newSong) | |
| { | |
| this->Songs.push_back(newSong); | |
| count++; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment