I want to display the all content of a list.
I have this function in Band.cpp:
for ( it=available_music_list.begin() ; it != available_music_list.end(); it++ )
cout << *it << endl;
Now in Main.cpp I want to have an option of all the music in the list.
The only thing that comes to my mind is:
But obviously it doesn't work.. can anyone help with this? Thanks
"Failure is always an option."