Posts by Ricardo Takemura • 38 points
3 posts
-
0
votes1
answer140
viewsA: How do I delete xml data from within the program itself?
Um... I think you want to remove a Functionary from the List that was obtained from XML, right? In the case: private void ExcluirDados(Funcionario funcionario) { funcionarios.Remove(funcionario);…
c#answered Ricardo Takemura 38 -
-2
votes2
answers812
viewsA: How do you capture two integers with space between them in python3?
With space, it would have to be something like this... But if it’s by comma, it could be like this: [a,b]=list(input("Insira dois numeros separados por virgulas: ")) print "Numero 1:", a print…
-
1
votes4
answers25657
viewsA: How to convert a char to an integer?
I think you can do it like this: char c = '1'; //se retornar -1 ele não é número int v = (int) (c > 47 && c < 58) ? c - 48 : -1;