I have this:
typedef struct {
char nome[50];
char morada[100];
char codpostal[8];
char localidade[30];
int telefone;
int nContribuinte;
} CLIENTE;
CLIENTE c;
How do I update c.nome
like c.nome = "something";
? Can't figure out why wouldn't this work... c
has already been filled with known info saved on a binary file
I'm supposed to do this: if (Conf == 1) { scanf("%s", c.nome); } else { c = Clt.nome; }