All Questions

2
answers

C ++ Destroy objects in a fix

Hi, I have a couple of questions Let's say I have this code: class alumno { private: string nombres; char telefono[12]; int nivel; public: alumno(); ~alumno(); } and then in the main declar...
asked on 13.02.2017 / 18:43
2
answers

Libraries of c ++ and c

Good morning. I would like to know some concepts about the c ++ and c libraries. My first question would be why you can use stdio.h in c ++ in addition to iostream, and which is better to use in the end, besides another question would be the dif...
asked on 08.02.2017 / 01:29
4
answers

hide / show n elements "tr" from another element tr in a table

Currently I can only show / hide a single element like this: $(document).ready(function () { $("#Mostrar_Tabla").click(function () { if ($("#Tabla_Mostrar").is(":visible")) { document.getElementById...
asked on 20.02.2017 / 20:15
1
answer

Detect and destroy colliding objects

This is the code: import pygame,sys from pygame.locals import * from random import randint ancho = 1280 alto = 720 class Snake(pygame.sprite.Sprite): def __init__(self): pygame.sprite.Sprite.__init__(self) self.Image...
asked on 03.01.2018 / 22:42
2
answers

Variable and Loop in JavaScript

I'm trying to understand the basics to have solid foundations. At the moment I'm doing an exercise to recover some fictitious tweets. I am making an effort to understand well the reason of all the development of the loop and I have something...
asked on 29.11.2018 / 04:09
3
answers

Encrypt RSA in C # decrypt in java

I am building two applications one in C# and one in Java, which will use RSA as part of the encryption and decryption that should be handled. When I encrypt with java and decrypt in c# works perfect, the problem is when I...
asked on 04.09.2016 / 03:40
3
answers

Differentiate types of HTML elements in JavaScript or jQuery

I have a series of labels in my view JSP . Each label shows a unit of measure and if you want to edit it, it is replaced via javascript with a input via button. NOTE: both the labels and the input are elements wit...
asked on 03.12.2015 / 12:32
5
answers

Hide the text of a div using CSS

Suppose I have the following div: <div class="contenido"> <img src="pepito.jpg"> Hombre </div> I need to hide the text "Man". How do I do it? With clear css this     
asked on 06.04.2018 / 00:11
3
answers

delete an attribute of an object more optimally

I have an empty object defined (associative array) obj = {} If I try to consult some parameter this will return undefined to me because it is empty. >> console.log(obj.id) undefined now I assign a value to id >> obj.id...
asked on 03.08.2017 / 16:47
4
answers

Reuse ajax

I'm trying to reuse ajax to make it more mobile in my project. Put it in the following way waiting for an answer but no. function _ajax(params,uri,type){ $.ajax({ url: uri, type: type, dataType: 'json',...
asked on 30.05.2018 / 21:23