All Questions

2
answers

Slow reading cin

By default the reading with cin is desperately slow compared to its counterpart scanf ... when logic tells us that it should not be like this: With cin a direct call is made to the function that knows what the type of th...
asked on 22.06.2017 / 10:36
1
answer

What is the difference between declaring a JSON object with: y =?

I've always had doubts about the difference between obj1 and obj2 var obj1 = { propiedad1: String, propiedad2: Boolean, propiedad3: Number, propiedad4: null, propiedad5: "Opcion1" || "Opcion2", propiedad6: { prop...
asked on 23.10.2017 / 18:31
3
answers

Sort query result in Ordered Row

I have the following query that I get with this query: Select Año, Tip, Est, t1, t2, t3 From Tabla1 Año Tip Est Zo t1 t2 t3 2003 1 A 6 12 14 17 2003 1 A 7 12 15 18 2003 1 A 8 13 16 19...
asked on 21.10.2016 / 23:08
2
answers

For what is "=" in C #

My question is so that the characters are used = > in C #, I've seen it in a method to access the device's light sensor. This is the method private void _lightSensor_ReadingChanged(LightSensor sender, LightSensorReadingChangedEventArgs args...
asked on 06.02.2016 / 00:06
5
answers

Change style of an input type="file"

I want to know if it is possible to change the default style that appears when placing a <input type="file" /> on our page. Here I leave a screenshot. The previous image is a screenshot of my tablet, where I save the path o...
asked on 10.05.2016 / 18:55
2
answers

C ++ no match for 'operator + =' (operand types are 'float' and 'std :: chrono :: durationlong int')

I am trying to calculate the average execution time of a program, for 10 executions, for this I use the library chrono of C ++ 11, however, I'm getting an error that says there is no operator to make += , I understand that variables...
asked on 22.11.2018 / 22:14
5
answers

Access a constant inside an object in javascript

I am creating a custom event method, to do so I must create the event types as constants. My question is how to access a constant within an object. Example: var EventManager=function() { const EVENT_ON_USER_LOGIN = "EVENT_ON_USER_LOGIN"...
asked on 18.12.2016 / 20:53
6
answers

Connect PHP with SQL SERVER

I have searched everywhere, but I can not find an answer or find incomplete answers. What is the complete way to connect PHP with SQL Server 2008?     
asked on 29.04.2016 / 17:39
3
answers

Decode HTML & # 209 entities & &

I'm using the JQuery autocomplete library. I currently have a function that decodes HTML entities of numeric type - > &#209; , but what I do not know is how to integrate entities of this type into the function - > &amp;...
asked on 24.11.2016 / 20:47
1
answer

How to restart the auto_increment of MYSQL?

Good morning. I'm doing a little job with PHP, and I need help removing a record from a table. I insert data, and then I delete them, but the auto_increment continues in the last inserted position. I want that when deleting a data, the auto_incr...
asked on 30.05.2016 / 04:53