All Questions

3
answers

Return on methods

Colleagues. I have a class where my methods that contain arguments, but have no return, I usually put the following code at the end: public function metodoRetorno($valor) { // ... return true; } But in methods that do not have (v...
asked on 08.11.2015 / 14:53
2
answers

Remove the time part of a date in C #

This is not working right here: DateTime? _data = calDataExclusao.Date; string nova_data = _data.ToString("dd/mm/yyyy"); The error is:    No overload for method 'ToString' takes 1 arguments How do I remove the time part of a date?  ...
asked on 08.12.2015 / 17:03
2
answers

Hover effect on one element affect another

I would like to know how I can make the : hover event in one element take effect in another ... I have the following code: <ul> <a href="#"> <li> <div id="search-image"><img src="images/image.jpg"/>...
asked on 02.10.2015 / 00:50
4
answers

recursive superfatorial problem

I'm having a question about how to do this recursive math function. Calculation of the superfatorial: The super-factorial of an N number is defined by the product of the first N factorials Thus, the superfatorial of 4 is sf (4) = 1! * 2!...
asked on 07.09.2015 / 17:11
3
answers

Comparing an array element with a string

I need to create a function that gets an array and compare it to a string , outside the array , returning true if, and only if, at least twice the string exists outside the array . The output should look like this: Str2(["a", "b"...
asked on 10.10.2015 / 23:38
2
answers

What are the differences between the find () and eq () selectors?

I'm running some tests to understand what is the difference between simple use of a selector eq() and find() , so that you can select the first row of a table for example. Example 1: $('table tbody tr:first') // ok $('table...
asked on 15.10.2015 / 18:53
2
answers

What is the purpose of the size_t and ssize_t commands in C?

What is the purpose of the size_t and ssize_t commands? What kind of data do they represent? size_t minhavariavel1; ssize_t minhavariavel2;     
asked on 16.12.2015 / 01:21
1
answer

Error rounding BigDecimal

I'm doing a calculation with two methods, but since the attributes are of type double , I'm using BigDecimal to perform the operation and after that convert to two decimal places only. I'm having difficulty converting, I've tried...
asked on 17.11.2015 / 03:49
1
answer

How to return multiple JSON messages via PHP, each one being triggered at different times?

I'm building a system and at one stage it saves 3 sets of information filled out on the form by the system operator: Set 1: student information; Set 2: student guarantor information; Set 3: information about student enrollment. I am m...
asked on 15.12.2013 / 22:43
5
answers

What tool to use to convert a visually developed UML to code?

I need an Eclipse tool / plugin that allows me to develop class diagrams, activities and sequence in UML and to generate the code. I often use Eclipse with Omondo plugin, but it looks like it has been discontinued. The last version I got was...
asked on 30.01.2014 / 11:43