Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
60% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
3
5 Commented Posts
0 Endorsements
Ranked #4K
~10.0K People Reached
Favorite Tags

35 Posted Topics

Member Avatar for christiangirl

Hello, I am getting Identifier expected and Illegal start of Expression erros in this code: [code] //"Math is our Game" - A math testing program for First through Fourth grade students //Import GUI packages import javax.swing.*; import BreezySwing.*; import java.awt.*; import java.util.Random; //import TurtleGraphics.*; public class Math extends GBFrame { …

Member Avatar for stultuske
0
815
Member Avatar for christiangirl

Hello, I have to make a program using heapsort, and am having trouble getting it. I think the problem is with either fixup() or buildheap(). I am having trouble understanding the syntax for both of those methods, the teacher gave us the code for them, but I am having trouble …

Member Avatar for budi indri
1
155
Member Avatar for christiangirl
Member Avatar for christiangirl

Hey, I am trying to make a program that has pictures on the GUI, but am having trouble making the picture show up. Here is the code: [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; /** Quick example showing images (specifically ImageIcons) on JButtons and JLabels @author Sharon Tuttle @version 11-04-08 …

Member Avatar for BestJewSinceJC
-1
246
Member Avatar for christiangirl

I am just starting to learn sql and have to questions from my homework assignment. The first is this: Write a query which will project the average rental price and number of such videos for videos of Classic movies --- BUT! You must write this without explicitly using the category …

Member Avatar for debasisdas
0
97
Member Avatar for christiangirl

Hey, I am trying to find a way to limit how many characters a user can enter into a JTextField. Does anyone know how to do this? Thanks!

Member Avatar for kvprajapati
0
143
Member Avatar for christiangirl

Hello, I am having problems with indexOf() and contains() they work if I put letters in the code to test, but I want it to test what the user enters. And that is not working. The user enters a letter into a JTextField, and I am storing that word to …

Member Avatar for kvprajapati
0
172
Member Avatar for christiangirl

Hey, So I am having this problem with this code. I think the problem is that shortpath[0].distance is being set to 0, and so never going into the if statement of updatepaths() therefore messing up the whole program. But I don't know why it is being set to 0. Here …

Member Avatar for christiangirl
0
134
Member Avatar for christiangirl

NOTE:This is a correction from my previous post. Hey, So I am having this problem with this code. I think the problem is that shortpath[0].distance is being set to 0, and so never going into the if statement of updatepaths() therefore messing up the whole program. But I don't know …

-1
99
Member Avatar for christiangirl

Hello, this code is throwing and IOException and FileNotFoundException and I am having trouble figuring out why. Where exactly does the song need to go in order for the program to pick it up? Also, is this code for putting the song in the program correct? Thanks! [code] //Hangman a …

Member Avatar for christiangirl
0
137
Member Avatar for christiangirl

Hello, I need to make this program sort the numbers entered with merge sort then print them. I am having trouble calling merge sort and getting it to print. Here is the code: [code] #include <iostream> #include "queueLinkedList.cpp" using namespace std; /*struct Item : Data { int value; Item *next; …

Member Avatar for christiangirl
0
198
Member Avatar for christiangirl

Hello, I am having trouble understanding linked lists. I have to make this program that takes input, stores it to a queue, outputs that input, then sorts it using mergesort and outputs it again. It all works except I'm not sure how to call the mergesort classes. Here is the …

Member Avatar for christiangirl
0
232
Member Avatar for christiangirl

Hello, I am getting 8 8 8 7 7 8 6 7 8 9 as output when I enter 1 2 3 4 5 6 7 8 9 0 into this program. It is supposed to sort the numbers one through 10. I debugged it, and believe the problem is …

0
81
Member Avatar for christiangirl

Hey, So I got this program all working except some of the output is weird pictures instead of letters. The first time it outputs it works fine, but after that it only partly works. Here's the code: [code] #include "queue.cpp" #include <iostream> #include <fstream> #include <iomanip> /******************************************* * class Priority …

Member Avatar for christiangirl
0
155
Member Avatar for christiangirl

Hello, I have to make this program that has two queue's. It takes input from a file, and each line in the file has a number and character. If the number is a one, the character is stored in the highQueue. If it is a 2-5 it is stored in …

Member Avatar for Lerner
0
121
Member Avatar for christiangirl

Hey, I am having trouble with the file I/O part of this program. It seems to start at the end of the files contents and not go into the while loop. [code] #include "queue.cpp" #include <iostream> #include <fstream> #include <iomanip> /******************************************* * class Priority * * Takes input from file …

Member Avatar for cikara21
0
156
Member Avatar for christiangirl

Hey, I am tutoring this kid in java and he has to use TurtleGraphics and BreezySwing, neither of which I have used in a while. I am having trouble figuring out some of his problems. I will post both his code and how I altered his code. I am wondering …

Member Avatar for christiangirl
0
109
Member Avatar for christiangirl

Hey, I need to download the TurtleGraphics package but am having trouble findng a place to dwnload it from, I tried a couple of places but they did not work. Do you know of a good website to get it off of? Thanks!

Member Avatar for ddanbe
0
94
Member Avatar for christiangirl

Hello, I have two windows 2000 computers I am having trouble connecting to the internet. The first is a dell laptop. It has an ethernet port, but when I plug the cord into it no light turns on and the computer does not pick it up. Also when looking at …

Member Avatar for caperjack
0
145
Member Avatar for christiangirl

The program is all working now, but I'm worried because on the last linked lists assignment I got a C because I did not do the link correctly. My prof said that I did not create the links up correctly just used a stack to get descending in the last …

Member Avatar for Murtan
0
113
Member Avatar for christiangirl

Hey, This is the same code as my other forum for those of you who were helping me there. It is all working now, but when I go to call return_value from applicant.cpp(it has to be .cpp not .h because thats how the prof made it) Its coming up with …

Member Avatar for Agni
0
104
Member Avatar for christiangirl

Hey, I am having problems with this code, I think it is not linking up the whole file, because when I run it it only says "hi" 3 times. And also it keeps crashing because of best[i] = point->item->return_value(); [code] #include "applicant.cpp" #include <iostream> #include <fstream> #include <iomanip> using namespace …

Member Avatar for Agni
0
182
Member Avatar for christiangirl

I'm having trouble making this program with linked lists work. Where I am having a problem is in printarea() [code] //**************************************************************** // This program tests creating dynamic linked list of // several Dynamic (descendents) // It uses: shape1.h header file // Filename: prtshape.cpp //**************************************************************** #include <iomanip> #include <iostream> #include "shape1.h" …

Member Avatar for christiangirl
0
155
Member Avatar for christiangirl

This program is all working except when a user chooses the same file as before it needs to show both orders in the file but it is only showing the latest one. [code] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; /** * Program that allows user to select a …

Member Avatar for christiangirl
0
137
Member Avatar for christiangirl

Hello, I had to make this program and it is all working except it is not writting to the file. Can you help me out? Here is the code: [code] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; /** * Program that allows user to select a meal. * Includes …

Member Avatar for christiangirl
0
137
Member Avatar for christiangirl

I have this program all working, except in how the text looks in the file. The text is supposed to be all on different lines, but its all on the same. Here's the code: [code] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; /* * class LogOrder * Allows user …

Member Avatar for christiangirl
0
135
Member Avatar for christiangirl

I have to write two programs, one writes to file based on what the user selects. The other reads the file, and outputs what the user selects. And I'm really not sue if I'm doing this right. Here is what I have for writting to the file: [code]import javax.swing.*; import …

Member Avatar for vee_liang
0
85
Member Avatar for christiangirl

I have to make a program where I take a file that contains users order information(the file is from another program I had to make), and then tests it and outputs how many of what it orders. I cant seem to get it to work, its running but then at …

Member Avatar for masijade
0
82
Member Avatar for orangejuice2005

First, in your first while() loop while ( p !=0 && 1 <= p <= 2000) You have to restate p every time so it should look like while(p != 0 && 1 <= p && p <= 2000)

Member Avatar for christiangirl
0
147
Member Avatar for cproud21
Member Avatar for christiangirl

Hello, I'm having trouble with this program. What I have to do is open a file(in this case link.dat) and then the user chooses what they want to do, take something out of it, add somethng to it, print it. It opens the file fine, but then I cant get …

Member Avatar for christiangirl
0
94
Member Avatar for christiangirl

How do you to take user input for red, green and blue(a number between 0 and 255) and make the background of the center JPanel that color. Heres the code on what ive done so far: [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; /** * Write a description …

Member Avatar for christiangirl
0
2K
Member Avatar for christiangirl

I need to print the contents of an array backwards, but every time I try it just prints a a smiley face, or something like that. Here's the code, it isin three files: [code] main file: #include <iostream> #include "testArray.cpp" using namespace std; int main() { testArray test; char ch; …

Member Avatar for Freaky_Chris
0
243
Member Avatar for christiangirl

Hello, I need to test an array of chars to see if they are numbers. I am trying isdigit() but that is not working. Does anyone know how I can do this? Here is the code, it is in three seperate files. I try to test the char in the …

Member Avatar for christiangirl
0
147
Member Avatar for christiangirl

I'm getting this error: term does not evaluate to a function taking 1 arguments on the bolded and underlined parts of this code. I know this code isnt that great...has some extra stuff it doesnt need, but I'm working on that. This is pretty much the first program I've made …

Member Avatar for christiangirl
0
118

The End.