Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include "veiculos.h"
- #include "ficheiros.h"
- #include "menus.h"
- #include "encomendas.h"
- int main()
- {
- int nVeiculos, opcao;
- tipoVeiculos veiculos[MAX_VEICULOS];
- tipoEncomendas encomendas[MAX_ENCOMENDAS];
- printf("\t\t\t***************** Gestao de destribuicao de encomendas *****************\n\n");
- nVeiculos = lerQuantidadeVeiculos("Numero de veiculos existentes na empresa", 0, MAX_VEICULOS);
- if (nVeiculos == 0 )
- {
- printf("\nE impossivel efetuar quaisquer operacoes de distribuicao de encomendas pois nao existem veiculos na empresa!\n");
- return 0 ;
- }
- else{
- do
- {
- // opcao = menuPrincipal(,,,);
- switch (opcao)
- {
- case '1' :
- break;
- default : ;
- }
- }
- while(opcao != '1');
- }
- return 0 ;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement