Posts by Luiz • 139 points
8 posts
-
0
votes0
answers25
viewsQ: Error debugging C code in vscode (with WSL)
Hello, I am having a problem debugging a code written in C, I am using Visual Studio Code (integrated to WSL), the problem occurs when calling Strtok function, if run without debug, the code runs…
-
1
votes1
answer83
viewsQ: Signature of a generic function in Kotlin
I was watching the part about Generics and I’d like to know why the fun <T> addToList(vararg arg : T): ArrayList<T> { and not the fun addToList(vararg arg : T): ArrayList<T> {…
-
0
votes0
answers96
viewsQ: phpmyadmin on Nginx
Well, I installed Ubuntu server 16.04 on my local computer, but when I access the phpmyadmin it from error 404. I’m accessing the ip_local/phpmyadmin address Here is my virtual server phpmyadmin:…
-
0
votes1
answer481
viewsQ: Separate words using split
I wanted to print out only words that have : in front Example: Coisa1:kit1:Coisa2:kit2;grupo;grupo2;grupo3 would appear only: Coisa1 kit1 Coisa2 kit2 public static void main(String[] args) { String…
-
2
votes2
answers94
viewsQ: Give replace to the chars of a string
Well, the title of the topic says it all. Like, I got the String a = "Banana é uma ótima fruta.", how do I give replace in the chars of the word "Banana" ? I wanted the replace to stay, "****** é…
-
4
votes1
answer315
viewsQ: Doubt when taking Map’s value
Hello. When I print out the values and key of the Map, it comes from bottom to top. I wonder how I do to pick up from top to bottom. import java.util.HashMap; import java.util.Map; import…
-
1
votes1
answer59
viewsQ: Database + java
How do I check for a database in java ? Example: If you do, create a new.
-
2
votes1
answer363
viewsQ: Save and load objects inside a list
Hello, can someone tell me why it is only loading value, and the key is blank/void? Code I use to save and load: public static List<Pair<String, String>> cash_player = new…