Esse programa simula um sistema de loja com as seguintes opções:
1 - CADASTRAR NOVO CLIENTE
2 - REMOVER CLIENTE
3 - ATUALIZAR MONTANTE DE COMPRAS DE CLIENTE
4 - VIRAR MÊS (zera montantes de compras de todos os clientes)
5 - VERIFICAR MELHOR COMPRADOR
6 - VERIFICAR MONTANTE DE COMPRAS DE CLIENTE
7 - LISTA COMPLETA DE CLIENTES
Quando os clientes são cadastrados, eles são automaticamente colocados em ordem alfabética.
Quando o usuário deseja realizar alterações em um cliente, o processo se inicia com uma busca na base de dados e com a consequente confirmação de que o cliente a ser alterado é o correto.
A base de dados de clientes está diretamente alocada na memória heap.
This software simulates the system of a given store, with the following options:
1 - ENROL CLIENT
2 - REMOVE CLIENT
3 - UPDATE SHOPPING AMOUNT OF A CLIENT
4 - CHANGE MONTH (shopping amounts of all clients return to zero)
5 - SHOW BEST BUYER
6 - VERIFY SHOPPING AMOUNT OF CLIENT
7 - SHOW COMPLETE LIST OF CLIENTS
As clients are enrolled, they are organized in alphabetical order.
If the user wants to input changes to a client's profile, this process starts with a search for the client in the database and follows with a confirmation that the changes are being done with the correct client.
The clients' database is allocated directly in the heap.