Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Listado(lista &cab, string especialidad)
- {
- lista aux;
- nodoLibro *auxl, *temp;
- bool band=false;
- if(cab==NULL)
- cout << "Lista vacia" << endl;
- else
- {
- aux=cab;
- while(aux!=NULL)
- {
- auxl=aux->libro;
- while(auxl!=NULL)
- {
- if(auxl->especialidad==especialidad)
- {
- if(temp==NULL)
- temp=auxl;
- else
- {
- }
- }
- auxl=auxl->siguiente;
- }
- aux=aux->siguiente;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement