All Questions

2
answers

How to transform string into character array?

Is it possible to transform string into an array of characters? I only found the method .split(param); I'd like to convert a string to a% of characters , a character in each index. I would like array to become 'oi'...
asked on 21.12.2016 / 04:33
2
answers

Workflow Git using GitHub?

I need to learn how to clone a github project to my local computer and, after making the necessary changes, send the modifications back to the remote project. Basically the workflow of git using GitHub. I'm using linux (ubuntu) and would li...
asked on 25.05.2015 / 19:14
2
answers

Calculator with Java Graphical Interface

I started working with the Swing framework, creating a calculator with JOptionPane , and I did it normally. Now I have the challenge of inserting the buttons in the calculator, the + , - , * and / problem is that I researched a lot an...
asked on 10.04.2014 / 07:36
6
answers

Converting a string to int?

What is the best way to convert a string variable to another variable of type int? , that is, nullable of int ? Performance is very important in this case because I will be converting multiple values into a loop. Wou...
asked on 24.02.2014 / 07:53
3
answers

How to add object properties in JavaScript?

Assume an object as follows: vendas = { obs1:{ Venda1:{Regiao:"Norte", Valor: 200}, Venda2:{Regiao:"Sul", Valor:100} }, obs2:{ Venda1:{Regiao:"Norte", Valor: 50}, Venda2:{Regiao:"Sul", Valor:20}...
asked on 07.05.2014 / 17:01
3
answers

Smooth animation of element type swing via CSS transform

The concept that is trying to reach is the continuous movement on the axis of the X between a value and its representation in negative: So far, this concept has a failure, the animation is performed from 0 degrees to the value given, but t...
asked on 16.12.2014 / 12:47
3
answers

How does the rotation of bits in C work?

I would like to know how the bit rotation works, because the content that I could find on the internet does not explain for sure. Note: The structure is as follows: unsigned _rotl(unsigned valor,int conta); // deslocamento para a esquerda u...
asked on 17.03.2014 / 00:08
1
answer

How can one CSS style class inherit from another class?

I have a circulo class with several properties: font and shape, etc. and I have another class circulo1 with the size and color property. I have to make several circles of different sizes with the same color and in several different pl...
asked on 17.10.2014 / 09:25
2
answers

How to concatenate multiple Strings in Python?

The following c.filtraNome(nome) method queries the database (sqlite3), however, I'm not sure how to group each field and return the already formatted query as follows: Nome: Fulano Silvia Idade: 19 CPF: 00000000000 Email: fulano@em...
asked on 26.08.2015 / 20:38
2
answers

What is the purpose of the operator = in the use of lists?

What is the purpose of the => operator in the use of List<T> lists, I'm starting to use generic lists and I came across this operator, it is only used in this method LISTA.ForEach(i => Console.WriteLine(i)); ? Below...
asked on 20.11.2015 / 01:23