a couple of question that I do hope you answer.
- ¿what does your `Album_l' class represent? ¿one album or a collection?
- all its method have the form
void foo()
they don't ask for a parameter and don't return a value, ¿why?
- ¿what's the purpose these member variables: `album', `talbum', `num', `x'?
- I suppose that `.getAlbum() ' is the one that
adds elements, ¿why do you open the file in binary mode?
- ¿do you allow spaces or not? ¿where? an example file would help (note that your add function seems to allow, but the delete don't)
- «The delete isn't working» is not descriptive. ¿what does happen/doesn't happen? ¿musicL.dat remains untoched? ¿dissapear? ¿what about temp.dat? ¿does it still exist? ¿was even created in the first place?
- ¿do you need to open/close the file for every operation? ¿can't just load its content in a vector or something and write only at the end?
about the skipping part:
http://www.cplusplus.com/forum/beginner/250556/#msg1103311