Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
2 Commented Posts
0 Endorsements
~6K People Reached
Favorite Tags
java x 25
c++ x 15
php x 2
Member Avatar for cproud21

Hi, I am attempting to connect a form in Dreamweaver to an email account via a ftp webspace. I have the following generic code, (HTML form and PHP mail file) but I am not receiving emails... Would anyone have an idea of what I have done wrong and/or provide any …

Member Avatar for metalix
0
239
Member Avatar for cproud21

I have created the following code to act as a buffer between two threads. I am trying to add support to handle empty and or full buffers, and am not sure how to address this. Would it be done through condition variables? Thanks. [CODE]#include <stdio.h> #include <pthread.h> #include <unistd.h> //for …

Member Avatar for vijayan121
0
237
Member Avatar for cproud21

I have the following code that tests a string to see if it is a palindrome. The only error I am getting is when I try to pass each character to the queue and stack. Is there another way to pass it to each? [CODE]//Implement the palindrome-recognition algotithm described in …

Member Avatar for BeyondTheEye
0
116
Member Avatar for cproud21

I understand how to search and sort an array of int type. However I am confused how to sort/ search an array of object's in which I sort/search by a string in the object. (alphabetically) Here is the code I have so far, I want to search and sort the …

Member Avatar for vmanes
0
2K
Member Avatar for cproud21

I have the following program that declares 100 Book objects... The way that I have it now, each item in the array is set to a default value. Is there a way to add only the items that are input by the user to the array? and not start off …

Member Avatar for Danny_501
0
118
Member Avatar for cproud21

I have attached 4 classes which I have created for the following assignment, as well as a test program which tests the other four classes. The only thing that I am having a problem with is reporting the amount of the fine in the ParkingTicket class, as well as determining …

Member Avatar for javaAddict
0
248
Member Avatar for cproud21

Why is this array not printing in 2D? [ICODE]#include <iostream> #include <iomanip> using namespace std; const int COLS = 5; const int ROWS = 5; void showArray(int [][COLS], int); void arrayDef(int [][COLS], int); void totalCol(int [][COLS], int); void totalRow(int [][COLS], int); void totalDiag(int [][COLS], int); void inputAmt(int [][COLS], int, int, …

Member Avatar for Clockowl
0
91
Member Avatar for cproud21

I have the following array that prints out the amount of rainfall for each month, and then uses a bubble sort to sort it in ascending order... How can I display the name of the month along with the value that is already displayed? [ICODE]#include <iostream> using namespace std; void …

Member Avatar for rudasi
0
116
Member Avatar for cproud21

I am to design an applet that produces a six sided polygon in which the coordinates are set according to the location of the mouse when it is clicked. I am struggling setting each of the clicks to the correct point. I have tried many things, however have not been …

Member Avatar for Ezzaral
0
169
Member Avatar for cproud21

I have the following code that produces an applet of two eyeballs. I have a mouseMotionListener that is set so that when the mouse is moved around the pair of eyes, the eyeballs follow the pointer. I have the eyeballs set up in four locations. To the left, right, north, …

Member Avatar for BestJewSinceJC
0
155
Member Avatar for cproud21

The following applet that I have displays a house with two windows and a door that are colored in black. I want to display these items with window panes in them to show that they are open when the user clicks on them. I know that I need to use …

Member Avatar for Antenka
0
139
Member Avatar for cproud21

I have a GUI app which in which I need to pass a value from an array to a List... here is what I have... The problem occurs when I try to pass the array element to the ActionListener... im not sure exactly how to do it... [ICODE] import java.awt.*; …

Member Avatar for LDeArm
0
143
Member Avatar for cproud21

I have the following listing application that allows the user to make selections to build a skateboard. How can I add the values to the arrays which are declared? I do not understand how each value will be displayed when a particular option is selected. Also... I want to add …

0
93
Member Avatar for cproud21

I am getting the following error... init: deps-jar: compile-single: run-single: Exception in thread "main" java.lang.IllegalArgumentException: adding a window to a container at java.awt.Container.addImpl(Container.java:1010) at java.awt.Container.add(Container.java:928) at javax.swing.JFrame.addImpl(JFrame.java:480) at java.awt.Container.add(Container.java:899) at BoardCreator.<init>(BoardCreator.java:40) at Board.main(Board.java:14) Java Result: 1 BUILD SUCCESSFUL (total time: 3 seconds) Here is my code which is a box …

Member Avatar for quuba
0
112
Member Avatar for cproud21

I am to create a menu application for a cell phone company. The user is to select their package, phone, and any additional add ons they would like, and it is to disply the prices. This is by far the most advanced programming I have done to this point and …

Member Avatar for Ezzaral
0
272
Member Avatar for cproud21

I wrote the code for the following 2 combo boxes which display a drop-down list of dorm buildings and meal plans for a college student. The code works, and both boxes are displayed. I have completed what I have to do, but want to find a way to get the …

Member Avatar for peter_budo
0
133
Member Avatar for cproud21

I created a combo box for the selection of a dorm.... I need to create another combo box for the selection of a meal plan... Should I write that in another class, or can I add it to this class? I need to display the total of the costs of …

Member Avatar for puneetkay
0
178
Member Avatar for cproud21

The assignment calls for me to find the area with the fewest accidents (north, south, east, west, central) in a city. I am to write two functions: -getNumAccidents() is passed the name of the region. It asks user for the number of auto accidents in the region, validates info, and …

Member Avatar for sidatra79
0
75
Member Avatar for cproud21

If i have 5 int variables with values stored in them, is there a command to find the lowest valued variable?

Member Avatar for financeSEObegin
0
68
Member Avatar for cproud21

I have written the following class, and demo, in which I used a default exception (InvalidInputException)... I ran it, and it worked. So I tried my own exception, which I cannot get to work. How do I change the exception that is taken to my own (the Invalid TestScore class)? …

Member Avatar for Ezzaral
0
136
Member Avatar for cproud21

I am trying to write an exception to throw, for an invalid testScore array. If the scores are greater than 100 or less than one. I attached the three classes I have created. I also have to return the average.... If anyone can help I would appreciate it. I am …

Member Avatar for Ezzaral
0
149
Member Avatar for cproud21

The following program is a game in which there is a pile of coins. When the loop runs two players take turns removing coins. Whoever gets the last coin wins the game. ... How can I get the looping to stop when there is a winner?? Right now it still …

Member Avatar for cproud21
-1
112
Member Avatar for cproud21

I have the following prgoramming challenge to complete.. I am confused with a few things.. I have created the three classes which I have attached. I am struggling with the following if anyone could help i would appreciate it. - Using and passing the DAY_SHIFT and NIGHT_SHIFT - How to …

Member Avatar for javaAddict
0
391
Member Avatar for cproud21

I have the following programming challenge to complete, and am stuck. I know what i have to do, which is to get information from the other three classes into the parking ticket class, and then print the parking ticket using an if statement if the time has expired. I am …

Member Avatar for PoovenM
0
164
Member Avatar for cproud21

I need to print the following array and am not sure how to do so. It uses an object which is already created named TimeAT.... i mport java.util.Scanner; import java.util.Random; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** …

Member Avatar for darkagn
0
82
Member Avatar for cproud21

I have the following classes completed and have to create a driver that: rite a driver program to test your Clock class. The driver program should allow the user to enter both the current time and the alarm time. It should create one or more Clock objects to demonstrate usage …

Member Avatar for javaAddict
0
64
Member Avatar for cproud21

I have the following program to write: given the TimeAT class: The time class uses two integers, one to store the hours and one to store the minutes of a given point in time. Write a Clock class which uses TimeAT class objects to store the current time and an …

Member Avatar for javaAddict
0
129
Member Avatar for cproud21

I am new to programming and was thrown into an online java course before I took the prerequisite course. I love programming so far, but am lost in java and would appreciate any help that anyone has. I have the following programming challenge to complete. As well as creating a …

Member Avatar for stephen84s
0
210