All Questions

1
answer

How to "call" a function from a Lua table in C ++

I'm trying to "call" a function from a table written in Lua . The problem is that I am not able to pass three arguments to this function. When I pass the arguments, it is as if the Lua skips the first argument and continue...
asked on 26.08.2014 / 20:20
1
answer

Time difference in Linq

I'm using Entity Framework, and I have a condition that has not worked very well: .Where(x => ((DateTime.Now - (x.DataInicio.Value == null ? DateTime.Now : x.DataInicio.Value)).TotalMinutes) < x.Item.MinutosMaximo) Types : x.D...
asked on 27.10.2015 / 12:45
1
answer

Cryptography using piles in java

In an encrypted message using Stack to invert each word of a String and using chatAt (int) to get characters specific to it, I had the following problem, when if you put a character on the stack, you can not use primitive types as a paramete...
asked on 13.11.2015 / 00:04
3
answers

Move folder / files between repositories without losing Change history

   Context:   I have a versioning environment in Mercurial using TortoiseHG for viewing and commits and files. I want to move a folder from one repository to another and without losing the change history , I would like to know if it is pos...
asked on 09.10.2015 / 17:15
2
answers

preg_split is not breaking the strings in the array

I'm not able to use the preg_split() function correctly. I'm trying to break a String in a array() via regex but it's not rolling. $string = "<:termo.9:><:termo.10:><:termo.11:>"; $res = preg_split("/(<:)...
asked on 30.09.2015 / 23:02
2
answers

Determine specific size for console in C

Is it possible to set a specific size for the codeblock console (In C language) to open when I run the program? I need it to open in a certain size because I will not use the whole screen. I saw that there is a way to do it in the windo...
asked on 19.11.2015 / 21:50
2
answers

HTML element within an ActionLink

Hello, I would like to know if you can create an HTML element within a ActionLink , for example: To create a link on a menu with ActionLink : @Html.ActionLink("Classificação Financeira", "Index", "ClassificacaoFinanceira") Bu...
asked on 06.10.2015 / 16:34
1
answer

What function in R to reorder a data.frame that contains missing data (NA)?

I have the following data.frame : Linha Data Total Med.2 DP.2 Med.3 DP.3 Med.4 DP.4 1 2009 1.4749 NA NA NA NA NA NA 2 2010 2.9945 2.2347 1.0746 NA NA N...
asked on 01.11.2015 / 04:44
1
answer

What is the difference between element.push ("value") and element [element.length]

Hello. Whenever I need to add a new index in an array I use the second method, but I see some using the first one and I do not know if there is any difference between them.     
asked on 23.10.2015 / 18:33
1
answer

How to resolve a "Catchable fatal error"

I'm doing some object-oriented exercises in PHP and at the time of changing the database's data, I come across the following error    Catchable fatal error: Object of class mysqli_result could not be converted to string in /var/www/html/Aluno...
asked on 04.10.2015 / 03:31