Posts by Frederico Sampaio • 57 points
8 posts
-
0
votes2
answers2255
viewsA: How to get the rest of a float number in C?
Could you elaborate on the question? I ran the code like this and it seems okay. #include <stdio.h> int main(int dinheiro) { int res, res2; int notas[] = {100, 50, 20, 10, 5 ,2}; float moeda,…
-
0
votes1
answer156
viewsQ: Rename when exporting XLS
Guys, I have a table and when I export it to xls, it automatically goes with the download name.xls , has to edit the name of the file before downloading? to using the following JS code to export the…
javascriptasked Frederico Sampaio 57 -
0
votes1
answer381
viewsQ: Consultation at Firebase
Guys are using firebase for the first time, and I have a problem. I want to make a query in database 1x but on my console it appears that you have been consulted several times. var contador1 =…
-
0
votes1
answer497
viewsQ: Manipulate Printscreen in C#
A while ago a guy here at the forum helped me to put together a program to take a photo of a specific window that had opened on the computer. I wonder if I can get this picture instead of the whole…
-
0
votes1
answer56
viewsQ: Java Class and Variable Problem
I created a class, Inside it I need to call some methods but it has to be what is typed inside the Jtextpanel, someone knows how to do? This is my class Pick: public class Escolha { public static…
-
2
votes1
answer744
viewsQ: Printscreen in C#
I want to make a program that takes printscreen of a window defined by me in C# So far I’ve made that code: private void btPrintScreenEcra_Click(object sender, EventArgs e) { //Definimos qual a…
c#asked Frederico Sampaio 57 -
1
votes0
answers165
viewsQ: Background printscreen in Java
Guys, I want to know if there’s any way I can print a program running in the background I currently use the command : try { Robot robot = new Robot(); BufferedImage bi=robot.createScreenCapture(new…
-
1
votes2
answers313
viewsQ: Button locked in while
My program has a loop, created with the command while. I start the loop with the start button. However, I can’t do anything else in the program while the while is spinning. I wanted to put a button…