- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 2
i have a problem that i cant figure out how to solve it taht involves mips assembly. I need to ask the user for how many string they want to sort and then loop that many times and store all those strings in an array. I know how to ask … |
|
I'm currently working on a homework assignment in one of my classes, and I'm having some trouble with it. I am supposed to make a multithreaded messaging program that allows users to connect using both TCP and UDP. The messaging program works perfectly when TCP is selected. However, I do … |
|
I am trying to create breakout game like this below. http://www.2dplay.com/break-out/break-out-play.htm I like how when balls bounces on paddle you have control over where it is goings. i need help creating some thing like this //this is my code for when ball touch the paddle(player). i have divide the paddle … |
|
Hi, I'm working on an assignment for programming class where we're supposed to create a method that takes the contents from a text file (one giant string) and stores them piece by piece in a linked list. I'm a little stuck and not sure where to go from here, or … |
|
This prompt scanner works outside of this program but when i integrate it, it doesn't work: All code work. just no together. Help would be much appreciated. Scanner in = null; Scanner key= new Scanner(System.in); System.out.print("Input file name: "); try { String filename = key.nextLine(); in = new Scanner(new File(filename)); … |
|
I have done the following codes to create a bar chart with the data from DB, and save it as an JPEG file. I wanted to add percentage value anywhere in the table, JDBCCategoryDataset dataset = new JDBCCategoryDataset("", "oracle.jdbc.OracleDriver", "", ""); String query = "SELECT std,id from table"; dataset.executeQuery(query); JFreeChart … |
|
***How To UpDate JTable on Delete Command and if given id don't match with database then a message show "id is not available " My Codes as follows:-*** private void Sf_Reg_delete_ButtonActionPerformed(java.awt.event.ActionEvent evt) { String str2 = JOptionPane.showInputDialog(null, "Please Note that this Reg No is not generated again : ","Enter Reg … |
|
Okay guys. I want to create discussion. Java people we all know of the Streamtokenizer class or as I call it "lexer" class. My questions is how helpful can this class be when we try to create a lexical analyzer? How can we manipulate it in order to tokenize our … |
|
I need help creating a two dimensional array in mips assembly. I am new to this kind of programming and i do not know how to approach the problem. i have to create an array max size 20 by 20 and then fill it up with data entered by the … |
|
Okay, been working on Android program and since its JAVA based, I figured this might be a place to get some good advice. I have been writing this program to run tcpdump, but for some reason it freezes and crashes. I am able to execute the shell commands, but after … |
|
import java.util.Scanner; public class sfera { public static void main(String[] args) { //Langkah 1:Baca input dari pengguna System.out.print("Masukkan nilai jejari: "); Scanner input = new Scanner(System.in); final double PI = 3.14159; double jejari = input.nextDouble(); double luas; double isipadu; //Langkah 2: kira luas luas = 4 * PI * jejari … |
|
I'm noob at GUI Swing. I have 2 questions. 1)I'm trying to implement a program that reads a text file, so I can use it to add multiple tabs to the program based on the amount of data in the text file. For example, text file have 3 names. I … |