Posts by Kira • 59 points
5 posts
-
0
votes1
answer85
viewsQ: Does anyone know why you made a mistake?
when I try to enter any character value the Skip program in the option and I don’t even get a chance to write anyone knows why? #include <stdlib.h> #include <stdio.h> #include…
-
0
votes1
answer60
viewsQ: Problems with struch and functions in c
#define FICH "Dados.Dat" /* Ficheiro com os Dados */ #define DIM 30 FILE *fp; /* Variavel Global pois e' util ao longo do prog. */ int cont = 0; typedef struct { char Nome[DIM+1]; char Tipo[DIM+1];…
-
-3
votes1
answer1185
viewsQ: Use time. h library for dates
I wanted to use the library time.h to store a birth date type 26/10/2312 (in this format) in a given array, only I have never worked with this library. Can someone give me an explanation?…
-
0
votes2
answers610
viewsA: Array by function in C
#include<stdio.h> #include<stdlib.h> #include<locale.h> void OrdernarVetor(int vetorN[], int tamanho) { int i, j; int aux; for(i = 0; i < 5; i++) { for(j = 0; j < 5; j++) {…
-
6
votes3
answers342
viewsQ: Why doesn’t the while stop?
#include <stdlib.h> #include <stdio.h> int main() { int i,j; char elenco[30]; while(elenco[i]!='s' || i<=20) { printf("indique um menbro do elenco ,se quiser sair escreva apenas a…