Posts by Márcio • 39 points
6 posts
-
0
votes1
answer34
viewsQ: How to divide lines by lines of two different df and store in a third?
I try to divide using the methods div and divide and when assigning in a new df all values are as Nan…
-
0
votes1
answer42
viewsA: Error reading a string in file
while((fscanf(colunas_tabelas, "%s\n", validar)) != EOF) There are two errors, in this excerpt there is an inconsistency, because fscanf does not return EOF. I decided to take the line with fgets…
-
-1
votes1
answer42
viewsQ: Error reading a string in file
Well I’m reading a file with the type formatting: name.txt names columns types columns Where I am able to read all these strings, but when printing them, for example in a row with two column names…
-
0
votes1
answer31
viewsQ: How to use struct member variable to preset matrix size
I wonder how to pre define the size of an array within a shape struct: struct exemplo{ int l; int c; int matriz[l][c]; }; compiler claims that l and c on the matrix line is not declared here.…
-
3
votes1
answer255
viewsQ: Allocation of operation in C
I don’t understand why in doing this operation, even though I’ve already declared r as float, if you do not place the cast whether to assign a int. #include <stdio.h> void main() { float r; r…
-
0
votes0
answers24
viewsQ: Error in console concatenation.log
var A, B, C; A=prompt("Digite um valor."); B=prompt("Digite um valor."); C=prompt("Digite um valor."); console.log("TRIANGULO: "+(A*C)/2); console.log("CIRCULO: "+(3.14159*C*C));…
javascriptasked Márcio 39