All Questions

2
answers

Versions - How can I know the version of my application through code? [duplicate]

How can I get this data from the gradle: versionName "1.0.2" Thanks in advance for the help     
asked on 16.05.2018 / 12:55
1
answer

How to know if a string starts with certain characters

Does anyone know how I can know if a string starts with: for example ca if there is any function for this. Example: string cadena = "test"; string comienza = "te";     
asked on 23.10.2018 / 22:54
2
answers

The pseudo-class: hover does not work

I am trying to place the effect: hover to these images, but it does not work, they are several images, then I gave a name to the class "effect" but I do not know why it does not work, I want to give it an opacity, below I show how I am doing....
asked on 19.08.2018 / 03:28
3
answers

Detect contour of a [closed] card

I have to make an android application that allows me to detect the outline of a card with the help of the camera and then take the image, Do you know if there is a library or an example that can help me make this app? Thanks for answering. Gr...
asked on 07.10.2016 / 22:05
2
answers

Fix (not matrix) with double pointer in C ++

I do not understand how to handle an array with a double pointer (it's not a matrix, it's a linear array). I did some tests with the following code: int *num = new int; int** algo = #//acá se pasa por referencia (no por copia), el p...
asked on 23.03.2018 / 02:26
2
answers

Mutable objects as default arguments in python

I have a question with the passage of arguments in python , when mutable data structures are passed as arguments, for example a lista , and another simple argument, in the following way: def arguments_mutables(arg, arg1=[]): "...
asked on 26.03.2016 / 16:59
3
answers

get the neighboring characters that are not vowels

I want to obtain the neighboring characters that are not vowels, but it does not show me all, the code below is what I try but it does not fulfill my objective. function solve(s) { s = s.split(''); let res = ''; let array...
asked on 13.03.2018 / 20:09
2
answers

How do I get an array of numbers and letters to show separately the result of the sum of the numbers and the whole word?

The array would be the following: const array_A = ['H',1,'o',2,'l',3,'a'] and what I want to achieve is to see this '6 Hello'.     
asked on 15.10.2018 / 22:52
4
answers

Hide and show according to AngularJS status

I have two High and Low Buttons, I want that at the beginning when all are true you only see the Low button and if one is in FALSE see the High button <table class="table table-sm" ng-init="GetData()"> <thead> &...
asked on 26.10.2018 / 03:01
2
answers

Justify CSS text and enlarge space between characters

I request your help because I have an inconvenience because I need to use css , justify the text and in addition to this the text within the div must occupy all the content of div without leaving spaces in white, if it is possible t...
asked on 28.08.2018 / 22:12