Hi I am having trouble trying to get my add and remove function to work. We had to create an ADT List using array's. It keeps giving my program errors any help would be great, I think my problem might be my second part of the add function where it will add in between 2 arrays [CODE] // **************************************************** // Reference-based implementation of ADT list using arrays. // **************************************************** public class List { // reference to linked list of items public static final int MAX_LIST = 20; public static final int NULL = -1; private ListItem item[] = new ListItem[MAX_LIST]; …

Member Avatar
Member Avatar
+0 forum 3

I'm having trouble with this windows program its in Visual C++ and it's my first time really using and type of windows console. I'm trying to get the program to where the program starts up there is nothing on the screen but then the user left clicks a 'X' appears and the user can click on the screen and make multiple X's on the screen.[code]// menu item //#define IDM_LEFT 101 //#define IDM_RIGHT 102 //#define IDM_UP 103 //#define IDM_DOWN 104 #define IDM_RESET 107 #define IDM_QUIT 108 #define IDM_CLEAR 109 #define IDM_LINE 110 #define IDM_POLYNOMIAL 111 // trim the excess fat from …

Member Avatar
Member Avatar
+0 forum 7

Hi I am trying to upgrade my video card so I can play the Sims 3, but I'm having the hardest time trying to figure out what kind of video card I need, Dell Tech support was no help so I was wondering if anybody could I.D. what kind of specific graphics card I would need. [URL="http://s20.photobucket.com/albums/b250/yingfo/?action=view&current=CIMG0763.jpg"]Here is the image of my slot[/URL], I have a Dell Dimension E310, I know it's not a PCI Express because I've already purchased one. Alot of people say its just a regular PCI I'm just having a hard time trying to figure out. …

Member Avatar
Member Avatar
+0 forum 3

I've got this bug in my progrom that I cannot figure out and it's due within the next couple of hours. I was hoping someone could help. My problem is in my main function that reads in from standing input but when the user types in $PART2 it is suppose to break and go onto the next input. But whenever I type in: C = 7 D = 6 $PART2 the function will not go on to the next part because it should print System.out.println("Enter PostFix Expression: ") If you could help me figure out why I would greatly appreciate …

Member Avatar
Member Avatar
+0 forum 1

Hi, I'm trying to write a java program that will read in the scanner input from a user and outputs an postfix expression and answer so if you typed in: A = 5 B = 7 $PART2 AB+ the output would be AB+ = 12 I'm having trouble with the scanner input I can make it so a user can enter a letter and a number, but I'm having trouble trying to make the program shift so when the user enters $PART2 it will then begin to read in the post fix expressions. If anyone could help I would greatly …

Member Avatar
Member Avatar
+0 forum 2

Hi I was wonder if anyone could help with this problem I am receiving. My program is suppose to read in any character frequencies from a file, even spaces and /n. My problem is that is reading an extra character that I can figure out. I had inputed a text file that [B]aab[/B] no spaces and no new lines. It would out put as The Character Frequencies are 1 a 2 b 1 which throws everything off. This program will make a huffman code out of the frequencies, but it messes up everything cause of the unknown space and 1. …

Member Avatar
Member Avatar
+0 forum 5

Hi I'm having trouble with this program I am working on. It is to simulate a grocery store. The program will read in a file which is called inventory.dat the file will have items in it like: 11012 gallon-milk 1.99 F 11014 butter 2.59 F Then a customer will input the product number then the quantity they want then they will type 0 0 to end their order. When that happen it suppose to ouput a reicpet. Customer Input 11012 1 11014 1 0 0 Output Recipet Customer 1 gallon-milk 1@1.99 butter 1@2.59 Subtotal: Tax: Total: I keep getting the …

Member Avatar
Member Avatar
+0 forum 2

Hi I was wondering if anyone could help I'm receiving a segmentation fault whenever I go to run my main.cpp on my program. I've never encountered this before and was wondering if anyone knew how it can be fixed. The program consist of equiv.h, equiv.cpp, graph.h, graph.cpp, and main.cpp here are the files equiv.h [code] const int maxVertices = 50; /******************************************* * Equiv * ******************************************* * Equiv is a structure type that holds a * * pointer to an array of integers and an * * integer of the size of that array. * *******************************************/ struct Equiv { int* arrayIntegers; …

Member Avatar
Member Avatar
+1 forum 2

The End.