Questions tagged as 'array'

1
answer

Error while traversing PHP associative array

Good afternoon, I have the following question: Why is not the value in the column I want to access displayed on the screen? I have this PHP code with which I verify the login of a user. public function verificarUsuario($nombre_usuario...
asked by 10.07.2017 / 22:38
1
answer

Does not validate conditional with array in php

I have a form that adds the total amount of all the installments. I put a conditional where it tells me if the array has data print me the total otherwise I print a message. I do not know what my error is, but it does not print the message. I...
asked by 06.07.2017 / 17:56
1
answer

how to do a random array counter in C

good, the program consists of making a series of rolls N of a dice and counting the number of times a number ordered by screen. This is the code I have made but something is wrong with the counter :( Thanks in advance. #include <stdio.h>...
asked by 06.11.2017 / 19:57
2
answers

Error when deploying an array pointer in C ++

I'm doing college programming exercises and I'm with this:    Write a program in which a type is defined, PunteroArray, pointer to ARRAY of a thousand positions whose data   stored is a pointer to int:        Declare and write a procedure,...
asked by 19.06.2017 / 22:05
1
answer

Create a new element in an array in c #

I would like you to help me how I could generate a new object in the Product list, it's a simple CRUD using ProductsApp.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using S...
asked by 25.02.2017 / 10:29
2
answers

Problem with arranging objects on android

EditText[] PNacionales; float [] Calculo; int x; PNacionales = new EditText[] { (EditText) findViewById(R.id.PRextra), (EditText) findViewById(R.id.PRprimera), (EditText) findViewById(R.id.PRsegunda),...
asked by 12.03.2017 / 23:22
3
answers

Does UTF encode or decode an array?

I am making a form where I have to show a survey that is already hosted in the BD. I have the problem that it takes strange characters ...    "Mr./Sra.CASER MIRO ROTUE The technician gave you information on the operation of the installed equ...
asked by 29.03.2017 / 18:09
1
answer

Mix random names and surnames in php

I have 3 arrays: $nombres = array("Pepe", "Carlos", "Jesús", "Lola", "Rosa", "Maria"); $apellidos1 = array("Martin", "Lopez", "Salas", "Mateo", "Abas", "De Diego"); $apellidos2 = array("Quesada", "Alcala", "Marín", "Suarez", "Cobos","Rios");...
asked by 23.02.2017 / 23:14
1
answer

Problems with PHP array

Dear. A MySQL query from form generates the following php array: Array ( [0] => Array ( [nomtag] => Flujometro Entrada PG TK [Fecha] => 2016-01-01 [Valor] => 1234567...
asked by 13.01.2017 / 18:14
2
answers

C ++ array bound is not an integer

Hello, I'm doing a program that manages the entry and printing of data of employees of a company This is my code: #include <iostream> #include <stdlib.h> #include <windows.h> #include <conio.h> #define TECLA_ARRIBA...
asked by 03.01.2017 / 20:17