- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
14 Posted Topics
I wanted to read data from multiple files simultaneously but I am getting NULL error. Could anyone help in pointing out my error in the code. I am not sure if I can make arrays of FileInputStream and DataInputStream the way I have done. [CODE=Java] import java.io.*; class Count1 { …
I wanted to create a graph of connected nodes (eg- node 1, 2, 3. 1 connected to 2 and 2 connected to 3). How can I do this? I searched and found that JUNG (the Java Universal Network/Graph Framework) can be used to draw such graphs. But I am unable …
I have created to GUI interfaces using netbeans drag n drop. The first interface has a button upon clicking which opens the second interface. I want to close the 1st interface as soon as I click the button in it so that only the second interface is displayed. How can …
I have created 2 menus using JForms. I have two buttons in the 1st menu (menu1.java) I want to go to the second menu (GUI of menu2.java) whenever I press button 1 in menu1.java. How can I do that. What should I write in the actionListener func for button1?
I have a file say which has 5000 characters. I am reading the first 1000 characters and closing my file. I want to delete these first 1000 characters from the file. How can I do that?
I am generating random numbers and want to write them into a file. But its writing them in binary and I am not able to open them using a text editor. How do I write them in Ascii? Also what is the fastest method to write them into a file? …
I need to create a large integer array but I am not able to increase its size beyond max int value. How do I create larger arrays?
I have to use a software package written in c with many different files. It has an executable file with a variable - cc=/usr/bin/gcc cc is later used in that file to compile other files present in the software. wenever i try to run this file I get an error …
I need to create a list which contains objects of a particular class. I am having problem in retrieving the objects back from the list. Here is my code for insertion into list- import java.util.LinkedList; import java.util.ListIterator; public class listchek { int i; String name; public listchek(int k, String n) …
I am given dates in string format- Eg. 11/09/2010. (11-09-2010 not allowed) How can I convert it into integer dates? I am given two such dates in string format only and I want to find the no of days between them.
You have to install an operating system in the virtual machine software. Its just like installing an OS after you format your hard drive. Some gud VM softwares are- Sun Virtual box (open source) and VM ware (paid)
I have to prepare a project in Operating systems course. Does anyone have any ideas? It should contain 2-3 OS related parts like threads, processes, synchronisation, scheduling or something related to file systems. I read about writing a kernel but I think that would be too difficult for me and …
I have been given a program to write in java but inspite of thinking hard I have not been albe to get the logic for doing it. Here's the problem- I am given n dice which are rolled simultaneously and one of the possible sum of the dice. The program …
I have written a program which checks whether the entered list is a circular list or not. I am successfully able to make the circular list. But as soon as I call the check_circular fucntion my program hangs. Can anybody find the error please? And yes the programs hangs when …
The End.
titan5