All Questions

3
answers

Maps Android Studio is not displayed

I have been learning how to use Maps in android studio. The project compiles OK, but when I open the app on the mobile you can not see anything, just the word google on the bottom. already create and add the api key. What may be happening?...
asked on 01.04.2016 / 17:15
2
answers

IOs Padding TextField from MaterialComponents.MaterialTextFields

I currently have a TextField ( MaterialComponents.MaterialTextFields ) with a background like the following image: When writing it looks like this What I need is to put a padding or padding so that it is not so clo...
asked on 20.04.2018 / 22:46
2
answers

Difference between undefined behavior, not specified and defined by the implementation

Many times we talk about undefined behavior, not specified and defined by the implementation in c . However, what is the difference between these concepts?     
asked on 14.05.2018 / 11:52
3
answers

Assign a floating point literal without a suffix to a float

Taking into account that in C / C ++ the floating point literals without a suffix are by default of type double , then when assigning a literal of this type to a float an implicit conversion is made from double to float . float n = 3.14;...
asked on 25.10.2016 / 04:59
3
answers

Can not change a character with .charAt ()?

I want to make a java program to replace spaces with % 20 . I was thinking of making a loop and when I find a " " I replace the character with the three characters. However I have a problem with .charAt() . In effect it seems...
asked on 30.04.2018 / 16:37
3
answers

Running a batch as administrator

I need to create a batch to restart a service, it must include administrator credentials, something like this: net stop miservicio [user][password] net start miservicio [user][password] set /p DUMMY = Presione enter para finalizar......
asked on 05.12.2018 / 17:54
1
answer

Problem when trying to create a new project in AndroidStudio 2.0

I am trying to create a new project in AndroidStudio 2.0. I installed the SDK and configured the path of the SDK for AndroidStudio, but when I'm finishing the steps to create a new project, I check the box "Phone and Tablet" and I give it Next,...
asked on 12.07.2016 / 17:18
1
answer

What is the point of using setvbuf or setbuf in ansiC?

What is the advantage or in which situation would it be useful to use the functions setvbuf() or setbuf() in the ANSI C language? It happens that I have read the theory and I have experimented with the functions, but I do not no...
asked on 17.08.2018 / 02:17
1
answer

Update a div with ajax jquery

Hello! I have this code, yes, I make many errors in the code, I'm new using AJAX and Javascript . var turno_actual = 0; function desplegarAlerta() { $(document).ready(function() { var refreshId = setInterval(function() { $('#tu...
asked on 21.08.2018 / 17:06
1
answer

How is an 'array' of 'hashes' made in Perl 6?

I want to create an 'array' of 'hashes' in Perl 6. For example: use Test; plan 1; my @esperado = [ {A => 1, B => 2}; {C => 3, D => 4}; ]; my %hash1 = A => 1, B => 2; my %hash2...
asked on 06.01.2016 / 18:24