All Questions

2
answers

How do I check real-time registration?

I have a registration system that I need to verify in real time if the email exists in the database. But the same is not working, in <div id="resposta"></div> does not display any result. JavaScript <script langua...
asked on 09.08.2018 / 23:57
1
answer

How to solve the limit 53 R randomForest categories?

In R, using the library randomForest , when I run randomForest() I get the following error message: Error in randomForest.default(m, y, ...) : Can not handle categorical predictors with more than 53 categories. The factor in...
asked on 05.11.2018 / 17:22
1
answer

Why is there no "logical XOR" in C ++?

I was thinking and this question came to me: "Logical XOR" ! For example: true false = true true true = false false true = true false false = false     
asked on 10.08.2018 / 03:40
2
answers

What is the C / C ++ volatile operator?

I've seen some code in C / C ++ statements like this: volatile int i = 0; I would like to know what the volatile operator is and in what cases I should use it.     
asked on 22.03.2014 / 15:16
2
answers

How to force size justified?

Example scenario I have a dynamically generated (php) table, and one of the columns is vehicle license plates. The problem is that there is a certain difference as the letters and numbers are "larger" and / or "smaller" . Example : Th...
asked on 31.08.2018 / 12:54
1
answer

How to remove a file from the staging area in git?

I accidentally added all the files in the git staging area with the "git add." command, how do I remove a file from the staging area so it will not be commited?     
asked on 11.02.2014 / 02:02
7
answers

How to use multiple SQL statements (in the delete case in ORACLE) on a single line in C #?

I made a command because of foreign keys, just to plug hole, but it is not working because of an invalid character error, I believe it is ";" . I know I'm doing this the wrong way, so I accept suggestions for a more appropriate code. At...
asked on 05.02.2014 / 14:11
1
answer

Auto Relationship in EF

I'm having the following problem when creating two auto relationships. When you run the Update-Database the following error message appears:    Unable to determine the main end of an association between the   types 'Autorelação.Franquia'...
asked on 28.07.2016 / 15:49
3
answers

Does anyone know how to enter names in alphabetical order in a c ++ vector?

I made this code but it does not work right, it inserts alphabetically in reverse. void inserirNomeNaLista(vector<string> &lista) { vector<string>::iterator itr; string nome; cout << "Digite o nome para ser in...
asked on 22.02.2014 / 05:24
2
answers

Why use only return, without returning any data?

Studying the code of a framework I came across the following code snippet: if (file_exists('lib/util/' . $className . '.php')) { include 'lib/util/' . $className . '.php'; return; } What is the purpose of using return wit...
asked on 28.05.2016 / 15:42