Posts by iriiu • 1 point
2 posts
-
-1
votes1
answer27
viewsQ: Binary file read error!! I don’t know what’s going on, the binary file exists and my program gives error
include include typedef struct { int code; char departamento; char nome[30]; float salary; }Dadospunctionary; int main () { FILE *Fp; Data char come out; int Qt; fp = fopen("problem2.bin", "rb");…
-
-1
votes2
answers34
viewsQ: Program not to loop, even by typing the interrupt key!
#include <stdio.h> #include <string.h> typedef struct { int codigo; char departamento; char nome[30]; float salario; }DadosFuncionario; int main () { FILE *fp; DadosFuncionario…