Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void imprime_POIs_az(ListL lista)
- {
- int cont=0;
- lista = lista->next;
- char nome_aux[SIZENOME];
- strcpy(nome_aux,"");
- printf("\n\tLOCAIS\n\n");
- while(lista!=NULL)
- {
- if(strcmp(lista->local,nome_aux)!=0)
- {
- printf("\nLOCAL: %s\n\n\tNome: %s\n\tInformacao: %s\n\tHorario:%s\n",
- lista->local,
- lista->nome,
- lista->info,
- lista->horario);
- }
- else
- {
- printf("\n\tNome: %s\n\tInformacao: %s\n\tHorario:%s\n",
- lista->nome,
- lista->info,
- lista->horario);
- }
- strcpy(nome_aux,lista->local);
- lista=lista->next;
- cont++;
- }
- printf("\n<<%d POIs imprimidos c sucesso.>>\n",cont);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement