Posts by Matews12 • 35 points
4 posts
-
1
votes1
answer462
viewsQ: Problem in ordered insertion code of structs (records) in files
I am doing a work in which I have to insert structs in alphabetical order in archives, in which the structs are political and the archives (which together form a chained list) are the parties. I’m…
-
0
votes1
answer12103
viewsQ: How to make a transposed matrix of user-chosen dimensions in c?
I need to make an algorithm that transposes an array whose size should be chosen by the user. I’ve written a code, but it doesn’t work properly for matrices whose number of rows is less than the…
-
1
votes1
answer179
viewsQ: Malloc does not work in C code
While trying to compile the code I get the following error messages: #include <stdio.h> #include <stdlib.h> #define OK 0 void preencherVetor(int* vetor[], int tamanho) { int indice; for…
-
1
votes1
answer279
viewsQ: Error: "error: array type 'int [sizeExcedent]' is not Assignable"
When trying to compile the program I get the following message: error: array type 'int [sizeExcedent]' is not Assignable uppercase = vector II; ~~~~~~~~ ^ error: array type 'int [sizeExcedent]' is…