All Questions

3
answers

Have a text appear centered, with space above and below

I was solving a very simple exercise and I ran into a problem in the alignment of the elements. I want the h1 to be centered. But the author of the tutorial uses *{ padding:0; margin: 0;} so that everything in the document is ce...
asked on 12.05.2017 / 21:19
2
answers

Change the font to comic sans in the Visual Studio editor

I need to change the default font that Visual Studio brings, I want to use a better typeface to program as comic sans . You can help me. I know that in eclipse if it can be changed, as this question says How to change the type and default f...
asked on 28.12.2017 / 16:40
2
answers

Memory access

Can someone tell me what the following lines do? num = *((int*)(direccion+sizeof(char))); (*(ST_DATA*)(direccion+posTabla*sizeof(ST_DATA))).speed = num; Do the next two lines mean the same thing? *((int*)(direccion + OFF_TABLE_KEY+sizeof...
asked on 24.05.2018 / 12:01
2
answers

What is the .gitkeep file for?

I had the doubt, since I found in a library that I downloaded a file .gitkeep , which was empty. Although I was looking in the GIT documentation I could not find the use of it. Someone knows if it is used for something or was only creat...
asked on 29.05.2017 / 23:14
2
answers

I get an error when accumulating the sum, I get "Local variable not assigned"

public static void BucleFor() { int i,numero, dato, repuesta; Console.WriteLine("Cantidad de numeros a sumar"); dato = Convert.ToInt32(Console.ReadLine()); for (i=1; i<=dato; i++) { Console.WriteLine("introdusca...
asked on 26.03.2018 / 05:30
2
answers

Warning: mysql_fetch_array () expects parameter 1 to be resource, boolean given in FILE on line 22

Why does it generate an error on line 22 if I compare it with other PHP and I have it right? On line 22 I have the following: while($rowHorEmp = mysql_fetch_array($resHorEmp)) And the variable $ resHorEmp comes from the following query:...
asked on 10.08.2017 / 23:42
5
answers

How to delete all records from a SQLServer table?

I need to delete all the records of a SQLServer table without indicating which one I want to delete, I want them to be all and this code deletes data in specific delete from tbl_usuarios where nombre='Abi';     
asked on 19.04.2017 / 17:58
3
answers

Show content of a variable in html from php

I'm new to php and I'm trying to show in a textbox the contents of a php variable but I do not get it, all the code is in the same file. <html> Number of places, time      <div id="contenedor"> <div id="logo" &g...
asked on 09.06.2017 / 16:48
3
answers

delete dd / mm / yyyy from an input type date

Hello everyone knows how to delete the letters that are put in the input type date, so that it remains blank as an input typo text ? There in the picture is what I need please read it.     
asked on 25.09.2018 / 20:36
2
answers

How do I compare integer lists to know which is the largest?

I have an algorithm to calculate a sequence of numbers (Collatz Conjecture) . The problem is that I need all up to 1,000,000 (one million), from there to know what number creates the longest list, I can not think of good ideas, but even if i...
asked on 12.08.2017 / 22:24