No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[CODE] import java.util.*; import java.util.Scanner; public class InputconsoleArray2 { public static void main(String args[]) throws java.io.IOException { int[] a=new int[100]; // create an array of type interger size // Objects of type Scanner are useful for breaking down formatted input into tokens and // translating individual tokens according to their … | |
I am getting Exception in thread "main" java.lang.nullpointerException on line 113,92,200, need help [CODE] // heap.java // demonstrates heaps // to run this program: C>java HeapApp import java.io.*; // //import java.util.Scanner; class Node { private int iData; // data item (key) // ------------------------------------------------------------ public Node(int key) // constructor { iData … | |
I have a new assignment about Huffman encoding, there is part of the assignment that is not clear to me, I searched the web, but could not find an answer, I need some help to understand this part. it is as follows: The standard algorithm states that you should use … | |
I have two source files main.cpp and process.cpp and two header files dheap.h process.h all under project assignment1, I am using code blocks. I compliled main but I got the following message: [COLOR="Red"]Linking stage skipped (build target has no object files to link) Nothing to be done.[/COLOR] Is there anything … | |
this progran will simulate a process queue, giving time slices based on the priority. The process entries will be in a file, one per line.the data is the start time, priority level, total time to run and process name. when I run the program I got few problem 1. how … | |
Hi everyone, Can anyone tells me what this error means: error: decrement of read-only location. thanks | |
Thank you for taking the time to help me. This is a portion of a D-Heap program to run a number of process based on priority level given to each process. the following are some errors which I'm getting when trying to compile this code(this is a portion of the … |