All Questions

1
answer

Problem with the enums

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ejercicio_2 { class Program { enum direcion { arriba=1,abajo=3,derecha=2,izquieda=4}; static void Main(stri...
asked on 16.10.2018 / 10:44
3
answers

Use a variable for the LIMIT in a SELECT of MYSQL with PHP

I need to do a SELECT in PHP where X records are randomly selected. So I'm using the ORDER BY RAND() method, but I need the LIMIT to be one or the other depending on a variable, that is, something like this: $sql = "SELECT...
asked on 16.11.2018 / 20:20
1
answer

Why does JSON.stringify () return an empty array?

/* Validar checkboxes clickeados */ var checkboxes = document.querySelectorAll('.single-checkbox'); var clickeados = new Array(); checkboxes.forEach(elem => { elem.addEventListener('change', (event) => { event.stopPropagation()...
asked on 26.11.2018 / 17:53
2
answers

How do I extract data from the end of a dynamic stack?

I'm designing a C ++ program with a dynamic stack but when I extract the data I want it to be inverted, they can help me. This is my code: #include <iostream> using namespace std; #define true 1 #define false 0 struct docentes{...
asked on 17.10.2018 / 10:38
2
answers

Trying to use firebase: "can not resolve FirebaseMessagingService"

I'm trying to use firebase for background notifications. but it does not detect FirebaseMessagingService attempt extends of this and it tells me:    can not resolve in the gradle I have dependencies { cla...
asked on 12.12.2018 / 17:36
2
answers

Query works but PHP does not return the values

Hello, I am making a request to searchRand.php, in the php I make a query to obtain data. And I save it in the $ to_return variable. But when returning the value of $ to_return does not return anything. Being in the php command print the variabl...
asked on 15.11.2018 / 10:42
2
answers

Group and have the data with the autoincremento mayor- SQL

I need to search in a database like this, where "id" is the variable with autoincrement: id device 6 1 5 1 4 2 3 2 2 1 1 1 I need to sort by "device" but it gave me when "id" is minimal, I need to group w...
asked on 24.10.2018 / 02:57
2
answers

Error: Requirements check failed for JDK 1.8 or greater

I wanted to launch the commands: ionic build android or ionic run android --device But he always throws me this eror: Error: Requirements check failed for JDK 1.8 or greater The version of java I have is 1.8.0_111, I have the env...
asked on 08.01.2017 / 06:36
2
answers

Metatags with or without an accent

Should the metatags be put with or without an accent? That is, like this: <meta name="keywords" content="camión, árbol, lápiz"/> Or so? <meta name="keywords" content="camion, arbol, lapiz"/> My doubt really is i...
asked on 13.01.2017 / 00:47
3
answers

Problem with CSS - Background Color

I have the following code: .llamativo{ border-left: 1px double darkgray; border-bottom: 1px double darkgray; box-shadow: 0 0 5px inset; border-radius: 4px; font-weight: bold; font-size: 22px; padding: 10px; margin: 5px 0;...
asked on 10.01.2017 / 19:32