All Questions

3
answers

C # Help with static variables

I do not have much experience with C # and Forms but I have a problem with static variables. I need a static int variable to define the size of a static array. Public partial class Form1 : Form { public Form1() { In...
asked on 28.09.2018 / 01:41
2
answers

How to get the largest number from a list?

<listados=['31', '1', '3', '2', '5', '26', '3', '3', '1', '14', '2', '1', '21', '423', '2', '0', '0', '0', '2', '0', '0', '0', '0', '0', '0', '0', '3', '9'] print(max(listados))> He throws me: 9 it should be 423 The content of the (lis...
asked on 04.10.2018 / 06:31
1
answer

Run php in the background

- I hope my explanation is clear - I have a PHP script that takes a long time to execute, so I decided to run it in the background, what happens is that even in the file that I run the second script, wait until finish this execution to answer. I...
asked on 26.09.2018 / 22:47
1
answer

How can I solve the warning "assignment from incompatible pointer type"

I'm doing this program in C about signals, but when compiling it I get this warning:    practica8.c: In function 'main':       practica8.c: 18: 17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]       act....
asked on 27.04.2018 / 02:25
1
answer

Error saving json data in MySQL

I'm trying to store this data JSON : { "ticker": { "base": "ETH", "target": "USD", "price": "689.18009232", "volume": "234831.85174911", "change": "1.48138601" }, "timestamp": 1525308422,...
asked on 03.05.2018 / 15:18
2
answers

Fix code to take local date and time

I am doing a query with javascript to be able to get the local date and time of my laptop but my problem is that it takes me the month as 4 and not 04 which is the one I need, please could you help me, thank you very much and here I show...
asked on 28.04.2018 / 15:33
1
answer

Error to instantiate! Help with that error

What I want to do is have a vector and in each position of the vector (cell) have a queue (array type queue) The error gives me in the sentence: Vector [0] .meter (111); But I get the error of the image.     
asked on 28.04.2018 / 15:32
1
answer

How to select all the last records that have a column with the same value?

I have a table where I insert an id from another table ('Idstock') and I wanted to select all the last records that have an identical id in that column For example if I have 6 records the columns would be: 'idMov' / 'Idstock',/'Descripcion'...
asked on 08.05.2018 / 15:50
1
answer

Doubts about pointer arrays

I have a doubt between the behavior of two arrays declarations. And it is not related to the dynamic allocation of memory, but how to access the objects of the array. I explain. Case a: Suppose I define an array in the following way. Ti...
asked on 30.04.2018 / 10:49
1
answer

How to resize background image in Android programmatically?

I am placing a background image in an Activity obtained from the drawable folder, this is the code I implemented for that action: ConstraintLayout constraintLayout = (ConstraintLayout)findViewById(R.id.principal); // Obtener la imagen d...
asked on 27.04.2018 / 19:10