All Questions

1
answer

Multiple filtering in an ArrayList

I have a method that receives an Object of type List of a class of its own that is called Pallet. The class Pallet has a creation date, an article, an id, a warehouse ... etc. The method    filterPalletWithDataretorna (List lis...
asked on 03.10.2017 / 13:29
2
answers

Help with (const vectorint & t: flights), in floyd algorithm

//vector<vector<int>>& flights //vector<vector<int>> vec(n, vector<int>(k + 1)); for (int i = 1; i <= k; i++) { for (int j = 0; j < n; j++) { vec[j][i] = vec[j][i - 1]; for (const v...
asked on 12.11.2018 / 22:43
2
answers

c ++ - Preprocessor - Existential doubt

I really have a doubt in existence, and as I go on it makes me more noisy and I really do not know if I'm doing things right. I have my own software, which I developed a few months ago ... it goes quite well in its purpose, but it turns out that...
asked on 27.11.2018 / 14:23
2
answers

Print data belonging to a TreeMap

In the consultas() method, how could you print the student's name and grades? Until now, what it prints are memory addresses, and not the name and qualifications. Note: The map that receives this method is a map that returns a met...
asked on 26.09.2017 / 23:20
2
answers

How to know if a textbox.text is number or character in c #?

I want to know if it is a number or letter the textbox that you enter by keyboard if (txtCodigo.Text) { MessageBox.Show("son numeros"); } else {...
asked on 10.10.2017 / 16:12
2
answers

Declare an array with a length entered by the user

Suppose I put 10 in the length of the vectors in the following code. The problem is that even if I put 10 in the length, I can only enter 6 coordinates to the vector using the keyboard. Why does that problem happen? int...
asked on 28.04.2018 / 04:25
1
answer

e.preventdefault does not work in submit

I have a simple form with two inputs and a button to send it. I am trying to make the submit not work by default to be able to do things with the data before sending it to the server but, I do not know why, I can not avoid the submit....
asked on 16.04.2018 / 15:03
2
answers

Angular2 ViewChild does not reference child elements within a ngIf

I have the following problem in a component, I need to access a child element within the component but this being within a *ngIf when the component is initialized gives me an invalid reference or undefined as I can solve this probl...
asked on 13.04.2018 / 15:12
1
answer

encrypt / decrypt MD5 structure (encrypted result only numbers and letters) with php

First of all, thanks in advance for reading this thread. You see, I use the following functions to encrypt / decrypt some variables at the server level and create URLs. I already use this function: link They even helped me right here with s...
asked on 24.04.2018 / 05:05
1
answer

Laravel (5.4) Parse error: syntax error, unexpected '-' (T_OBJECT_OPERATOR)

Description Last days they answered me in another question that could implement whereHas to make a query to two different tables. In this case the table noticias and notas same that does not let me receive the data in the...
asked on 08.04.2018 / 18:36