Posts by Marcelo • 29 points
4 posts
-
1
votes1
answer83
viewsQ: Value input problem - Golang
I’m playing an old-fashioned game where the input is a number from 1 to 9 that corresponds to the location on the field, if I enter more than 1 digit like 44 or "Asd" is given as invalid input.…
-
0
votes1
answer68
viewsQ: Pointers in Go
I’m trying to change a String in Go using pointers, but I get one invalid operation: oculta[i] (type *string does not support indexing) The function I’m performing the change. func verifica(palavra,…
-
1
votes1
answer58
viewsQ: String Return
I’m trying to return a String format in a function, however error n occurs defined. func descreve(x, y int) string{ total := soma(x, y) return "%d + %d = %d", x, y, total } I don’t want to wear just…
-
1
votes1
answer632
viewsQ: Radio input check - Javascript
I need to verify which of 3 different Radios is selected for a check. <input type="radio" name="frame" id="framework" value="react"> React <input type="radio" name="frame" id="framework"…