All Questions

2
answers

Simple pagination in jQuery / Javascript

I'm looking for a simple pagination, no CSS styles, or anything like that. Only with the buttons below to change the page and with the elements on top. I'm asking, because the examples I find are a bit complex for me. I'm loading the data usi...
asked on 20.02.2014 / 18:58
2
answers

What is the meaning of the "&" (and commercial) operator in the C language?

I'm putting together a C booklet and I'm looking for a clear way to explain this operator to the reader, and I believe that this doubt will greatly help the people who are just getting started. See an example: Code #include <stdio.h&g...
asked on 28.04.2016 / 18:53
3
answers

Why is not it a good practice to use namespace "std" in C ++?

I was using using namespace (nomeDaBiblioteca); in my code and I ended up having some conflicts with another library. Why do these conflicts happen and what is the best solution?     
asked on 28.10.2014 / 19:02
4
answers

How to get only the numbers of a string in Javascript?

I would like to know if there are functions that return only the numeric values of a string, if any, which is the simplest and most efficient way to implement? Example: apenasNumeros("5tr1ng"); Result:    51     
asked on 01.02.2014 / 13:17
2
answers

What is the difference between String [] args and String args []?

What is the difference between the statements String[] args and String args[] in Java?     
asked on 06.12.2016 / 13:28
7
answers

How to know if the form is sent

How do I know when the form is submitted and the input fields are blank? I was asked to isset to perform this action but I did not understand the right use of isset     
asked on 25.09.2015 / 23:00
3
answers

Dependency Injection

Considering the injection of dependencies in AngularJS, there are a few ways to do it. The modes as far as I know are: Form 1: angular .module('meuModulo', []) .controller('MeuController', function(dependencia)) { //... }); For...
asked on 17.02.2017 / 13:26
1
answer

Consulting the situation of multiple CNPJs in the Internal Revenue Service

They gave me an unpleasant mission to consult on the basis of the Federal Revenue Service the situation of several CNPJ's (more than 1000). Is there any programmatic way to do this, preferably with no cost?     
asked on 04.12.2015 / 15:43
1
answer

Regular expression to recognize language: words that do not contain "bbab"

@LINQ challenged me to write a regular expression to recognize the following language L : I was able to build on this premise the following finite state machine:    Miguel Angelo has detected a typing error in the AFD...
asked on 28.09.2017 / 03:20
2
answers

What is the / ** code used for in Java language?

>, I did not quite understand what that meant, could anyone explain?     
asked on 20.02.2014 / 18:05