Posts by user8470 • 169 points
8 posts
-
-1
votes1
answer54
viewsQ: Undefined variable PHP problem
I’m studying PHP for a booklet I found on the net and she asked to enter a code but after I type not the error and nor does it show what was the result that should write the contents of the array on…
-
0
votes1
answer102
viewsQ: New PHP line in fopen function
Good people, I was following a PHP booklet and so far so good, but the problem is in writing the data in a notebook of windows, instead of it giving new line " n", he is putting the data behind each…
-
0
votes3
answers1132
viewsQ: Problem with vector in C
I don’t know where it’s wrong, if I put the value 7 in matrizA and 7 in matrizB and 14 in matrizC that will accumulate the value of A and B, for sure but if I place above 14 error. Make a program to…
-
4
votes3
answers847
viewsQ: Factorial is not being calculated
Make a program to read an array A of type vector with 15 elements. Construct an array B of the same type, each element of matrix B being the factorial of the corresponding element of matrix A .…
-
2
votes3
answers1025
viewsQ: problem in C with rest of the division
Develop a program that scans ten elements of an A-matrix vector type. Construct a matrix B of the same type, observing the following law of formation: if the value of the index is even, the value…
-
5
votes3
answers18598
viewsQ: How to find the rest of the division?
I’m studying a workbook I found on the net, she asks for an exercise but did not teach to do it in the previous pages, I tried and it did not work, I thank you for your help. Make a program that…
-
1
votes1
answer79
viewsQ: String usage gives error
At the beginning of the code I declare the variable nome as char and when I try to pick up the variable nome down there in the code gives error, I’ve tried several ways and this way this down goes…
-
4
votes4
answers917
viewsQ: How to check for value in a PHP array?
When I enter the page PHP already has an error: Notice: Undefined index: name in C: wamp www index.php on line 41 Here is the code: include ("conexao.php"); $nome = $_POST["nome"]; $resul =…