Posts by Nyelthon Refatti • 69 points
6 posts
-
0
votes2
answers263
viewsA: How can I pass a parameter of any type to a generic vector? - C
You can declare the element as a string (if c++) or as a char vector. Both accept values of any type.
-
0
votes2
answers1557
viewsA: Number of recursive function calls
I think you can put the second Return inside an 'Else' and so add the counting variable int qtd = 0, aux = 0; int fibonacci(int n) { printf("*"); if ((n == 1) || (n == 2)){ return (1); qtd = aux ;…
-
-1
votes1
answer704
viewsA: How do I read . xlsx files with PHP or JS?
Hello, for javascript I used the link tool below: https://github.com/SheetJS/js-xlsx.
-
2
votes2
answers117
viewsA: Help with SELECT for the Acuity exam
I think it’ll look something like this, but I can’t test. SELECT * FROM tb_orders as tor, tb_itens_orders as ti WHERE tor.id_pedido = ti.idpedido AND tor.data_compra BETWEEN NOW() AND…
-
1
votes2
answers928
viewsA: Create folders from cell information, with the file "test.txt" inside each folder created (VBA)
I added the sub-generationArqTXT below its code, basically, this sub creates a new spreadsheet and saves it in text format. Inside your code, I called the sub, sending the name of the concatenated…
-
1
votes3
answers100
viewsA: Code in c to calculate hypotenuse with cosine and adjacent
Well, that 'cos(a)' in the beginning does not make much sense because the variable 'a' was not declared and this account goes nowhere. You also need to declare the variable 'a', and some dots and…
canswered Nyelthon Refatti 69