Posts by Vinicius Vasconcelos • 35 points
3 posts
-
0
votes2
answers74
viewsQ: Scanf does not close the read
I am trying to make a program where it receives a char matrix and at the end prints the new matrix. #include <stdio.h> int main(){ int l,c,i,j; scanf("%d %d",&l,&c); char…
-
-1
votes1
answer126
viewsQ: How can I store token values in an array?
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <assert.h> typedef struct{ int id; char nome[20]; char telefone[9]; }tipoCliente;…
-
3
votes1
answer575
viewsQ: Error Unknown type name 'typeTelephone'
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> typedef struct{ int id; char nome[20]; tipoTelefone telefone; }tipoCliente; typedef struct{ int…