All Questions

2
answers

What is the difference between * var ++ and * var + = 1?

I am writing a function with the signature: int increment(int *val) . My intention is to get an integer pointer, increment its value in 1 and return that value. The body of my function was as follows: int increment(int *val) { *...
asked on 22.11.2015 / 18:35
3
answers

Why can not I center image using 'text-align: center'? [duplicate]

Follow the code below: HTML <div class="panel panel-default" style="height:400px"> <div class="panel-body"> <div class="form-group"> <div class="col-xs-6"> </div> </div> <...
asked on 30.12.2016 / 00:30
1
answer

How to pass a function as parameter in C?

I wanted to know how the function passed by parameter works just like in pthread_create (thread,atributo,rotina,argumento); . In the rotina field a function is placed in void* .     
asked on 30.01.2014 / 02:01
1
answer

What are the differences between overrideing and overloading in Java?

What are the main differences between overrideing and overloading in Java? What is the relationship between these terms with Polymorphism?     
asked on 14.03.2017 / 12:58
4
answers

How to programmatically respond to a command on the Linux terminal?

I have a Python script that runs a particular command on the system. This command waits for a password to be entered immediately, the only way to do this is to pass the password via the argument. I wanted to know if there is any way to execut...
asked on 28.01.2014 / 18:00
4
answers

Why does Input Type validation mail accept domains without a dot?

The input type[email] is intended to validate if the field is being populated with a valid email. But I've been questioning a few times on some projects about why this field accepts some types of emails that are seemingly invalid....
asked on 23.01.2017 / 15:33
3
answers

What happens in a conversion from a char to an int?

How does it work when you get a variable and make char-48 to transform into an integer, for example in this code I made, I used a date for example "22/05/1994" stored in a char vector and turned it into day, month and year all in integer...
asked on 01.02.2014 / 22:03
2
answers

What is software scalability?

I hear a lot if you talk about what software needs to have scalability in applications. Researching the subject, I found the following definition:    Meaning of Scalability:      In software engineering, scalability is a desirable feature...
asked on 02.10.2015 / 16:06
2
answers

Float decimal places

I'm developing an application to track product sales. However, sometimes the added value of reports does not beat the decimal places. It gives small differences. How do float stop giving these problems? I always use only two decimal place...
asked on 11.11.2014 / 13:02
3
answers

What are providers? What is the difference between OLE DB and ODBC?

I need to read dbf files. I found a tutorial to read the same where the author uses these two providers. In the code I only saw differences in the connection string. What are these providers? What's the difference between them?     
asked on 25.06.2014 / 17:56