Posts by Froks • 113 points
5 posts
-
3
votes1
answer77
viewsQ: Why is it that when I use tabulation on a printf, there are cases where it doesn’t tabulate correctly?
I have this code: #include <stdio.h> void main(){ int fahr, celsius; int inicio, fim, incr; inicio = 0; fim = 300; incr = 20; fahr = inicio; while(fahr <= fim){ celsius = 5 * (fahr-32)/9;…
-
3
votes1
answer162
viewsQ: Thread of a "flashing" dot
Hello, I made a program that moves a ball with the arrow keys on the keyboard only that keeps blinking the screen when it moves. I’ve seen other programs in this kind of mine that don’t keep…
-
0
votes1
answer6370
viewsQ: What good . this in java
Hello, then, I’m starting in java and would like to better understand what is .this. I imagine it has something to do with the current class or something like that. But I’m not sure. I’ll post a…
-
-1
votes1
answer1014
viewsQ: How to call a Jframe from another Jframe with different classes
I’m creating a little game of rock paper and scissors and would like to know what I call a JFrame other’s JFrame, only from different classes. Or maybe I should do it in different methods? I tried…
-
3
votes4
answers543
viewsQ: Variables operating in more than one method
I tried to make a simple console calculator, only I wanted to create several methods to make it well organized. The problem is that in the method of storing the variables, it stores, but when it…