If you only want to write to stdout what you get from stdin, then your program works fine for me.
If you want to fill a variable of type album you have to define one. F.e.: album myAlbum;
The definition should be outside of the while-loop, because otherwise you'll lose it after leaving the loop.
If you want to fill an array of album you have to define it. F.e.:
1 2
constunsignedint albumSize(10);
album myAlbums[albumSize];
In this case you may need some index or pointer to remember the next unused slot.