All Questions

2
answers

Convert string to date [duplicate]

I need to make a function increment X days to a date. The problem is that the date is coming as string in this format: dd/mm/yyyy and at the time of assigning the X days to that date, says that it does not recognize the var that...
asked on 26.11.2015 / 18:18
3
answers

Do you have any problems while playing the function for variable

Can anyone explain to me if I have a problem while playing a function for the variable, for example, in this case I'm talking about var marcar . This code is working, I do not know if it causes a performance loss or something else. Will...
asked on 11.03.2014 / 21:39
3
answers

What does it mean - in PHP?

I'm studying a little php to use in a work and I came across a snippet of code on the internet where it is used "->" in the code and I could not find any page that dealt with this element of code. return $stmt->execute();     
asked on 05.10.2015 / 23:39
4
answers

"Date.now ()" equivalent of Javascript in C #?

Here talks about getting milliseconds using Date.now(); , which returns something like 1533144170651 . Follow his documentation:    The now () method returns the milliseconds since 1 January   1970 as of 00:00:00 UTC so far...
asked on 01.08.2018 / 19:38
2
answers

C ++ (basic): for, references and syntax

My teacher introduced this role to us: void escala(std::vector<double> &v, double fator) { for (auto &vi:v){ vi *= fator; } } It serves to multiply all elements of a vector by an already predefined factor. I h...
asked on 07.05.2018 / 13:20
2
answers

AVG Accuses Infection in Windows Service Application If Add Command to Windows Firewall Is Present

I have an application that is a Windows Service (Windows Service) and per feature account I'm looking for to add a method to add it to Windows So: procedure AddInFirewall(cApplicationName, cEntryName: string); var cAppName: string...
asked on 15.05.2014 / 15:54
2
answers

HTML equivalent markup language?

Just for the sake of curiosity, I've been researching and found nothing at all. HTML is a text-marking language, and there are others like XML which is the only one with a clear explanation that I have found, but I have never seen / found oth...
asked on 08.08.2017 / 18:20
3
answers

How to check if a LocalDate is a weekend?

I have the following date of type LocalDate 2017-12-21 How do I check if it's a weekend? I tried to use Calendar , but it seems to only work with Date .     
asked on 22.12.2017 / 02:52
2
answers

What is faster to read and edited, a database or a .txt?

It would be to store and rewrite only 1 INT digit, deleting one and typing another, on condition that when it reaches 5, go back pro 1, and go doing that loop every time someone accesses. Whenever someone accesses the page, the value would...
asked on 28.11.2016 / 04:38
3
answers

Is an TR anchoring possible?

Is it possible for outside of a tr element to link any address as below? <a href="www.enderecodesejado.com.br"></a> If it is not possible, would JavaScript solve this or is it better to forget? I have the following tab...
asked on 11.01.2014 / 21:13