Skip to content

Instantly share code, notes, and snippets.

@fabianosalles
Last active November 27, 2019 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabianosalles/100ec1a02d09ceed823652f24de21899 to your computer and use it in GitHub Desktop.
Save fabianosalles/100ec1a02d09ceed823652f24de21899 to your computer and use it in GitHub Desktop.
estrutura de dados para armazenar tarefas e telefones
#include <time.h>
#include <stdbool.h>
typedef struct {
char descicao[255];
bool pendente;
} Tarefa;
#define TEL_FIXO 0x00
#define TEL_CELULAR 0x01
typedef struct {
char tipo;
char ddd[3];
char numero[10];
} Telefone;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment