Skip to content

Commit

Permalink
projeto finalizado v.01
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaian-k committed Jul 4, 2022
1 parent a5d436b commit 3165629
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions fila_prioridade.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ void add_fila(int id, int prioridade, char *nome_aluno, int matricula, char *des

void imprimir(Fifop_node *aux){
if (aux != NULL){
printf(BOLD BACKGROUND_WHITE FONT_GREEN " Identificador: %d \n", aux->pedido->id);
printf(FONT_BLUE " Nome do responsavel: %s \n", aux->pedido->nome_responsavel);
printf(BACKGROUND_GREEN FONT_WHITE " Identificador: %d \n", aux->pedido->id);
printf(BACKGROUND_WHITE FONT_BLUE " Nome do responsavel: %s \n", aux->pedido->nome_responsavel);
printf(FONT_BLACK " Nome do aluno: %s \n", aux->pedido->nome_aluno);
printf(" Matricula do aluno: %d \n", aux->pedido->matricula);
printf(" Nome do campus do aluno: %s \n", aux->pedido->nome_campus_aluno);
Expand All @@ -75,5 +75,5 @@ Pedido *remover_fila(){

if(fifop_tam == 1){
fifop_last = NULL;}}

else {backup = NULL;} return backup;}
2 changes: 1 addition & 1 deletion fuctions_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void remover_pedido(){

if (backup != NULL){
printf(RESET BOLD BACKGROUND_BLUE FONT_WHITE "\n<<<Pedido removido>>>\n" RESET);
printf(BOLD BACKGROUND_WHITE FONT_GREEN " Identificador: %d \n", backup->id);
printf(BACKGROUND_WHITE FONT_GREEN " Identificador: %d \n", backup->id);
printf(FONT_BLUE " Nome do responsavel: %s \n", backup->nome_responsavel);
printf(FONT_BLACK " Nome do aluno: %s \n", backup->nome_aluno);
printf(" Matricula do aluno: %d \n", backup->matricula);
Expand Down
Binary file modified principal
Binary file not shown.

0 comments on commit 3165629

Please sign in to comment.