Good morning, I have a question, I need to calculate a new password for each patient when I go through this method:
ps = getConexao().prepareStatement(SQL_VERIFICAR_PROTOCOLOS_PENDENTES);
ps.setDate(1, new java.sql.Date(dto.getDa...
If I have a div with id="banner-tooltips" , and within it I have n <span> tags declared in variables with javascript, how do I detect individual click in these span tags?
var caixaTooltips = document.getEle...
Example, I have an array of two dimensions of type int:
int array[][] = new int[10][10];
How do I set the value of, for example [2] [3], [6] [7] and [1] [9] to some even int, without having to define one at a time like this:
array[2][3] =...
How do I fill leds and seq without needing a for loop?
int main()
{
struct ledvalue
{
int seq[10];
int leds[10];
};
struct ledvalue numbers;
numbers.seq={0,1,2,3,4,5,6,7,8,9};
numbers....
I made this code in the class:
public class Dados {
ArrayList<Contato> contatos = new ArrayList();
public void cadastraContato(Contato contato){
contatos.add(contato);
}
public String numeroDeContatos(){
return contatos.siz...
I am making a program for simple registration, without using a database, only with an array. The program was already functional when I noticed that the most important part was wrong because I had not understood correctly. I just did not use the...
I have the following querys:
<?php
$VarMensagem = 1;
$pdo = new PDO($dsn, $un, $pwd, $opt);
$data = array();
$dataGeral = array();
try {
$stmt = $pdo->query("SELECT * FROM mensagem WHERE me...
I'm trying to pass one vector per parameter to a function in C, but I'm experiencing difficulties.
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
void calculafx( x2, *f3, *f4, m){
int j;
float fx1=0;
for(j...
I have an update in a field
permissao_ver
Being the same type bigint[] , field response: '{1,2,3,4,5,11,44,56,75,11}'
My Query
UPDATE callcenter.pausa
SET permissao_ver = '{"(SELECT cod_grupo FROM crm.usuariosgru...
Using Javascript , I created a function as simple as possible that gets a _Array_ of objects Pessoa (example: {name: "Alex", age: 24} ) that returns a new _Array_ only with Pessoa objects that have age bet...