Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
0 Endorsements
Ranked #977
~10K People Reached
Favorite Tags
c++ x 39
java x 28
c x 1
jsp x 1
Member Avatar for shockwave_05

Implement a shape hierarchy. you must have your superclass [B]shape[/B] and 2 subclasses [B]two-dimensional shape[/B] and [B]three-dimensional shape[/B]. Under two-dimensional shape, you have other subclasses, [B]circle, square, and triangle[/B]. Under the three-dimensional shape you have the [B]sphere, cube, and tetrahedron[/B]. Each two-dimensional shape should contain a method [I]getArea[/I] to calculate …

Member Avatar for wiggles29
0
5K
Member Avatar for JavaNewbieEK

I have an assignment in which I have to read in a series of words using the nextLine method from the Scanner class and then count the number of words using the StringTokenizer class. I know you all like for people to show some initiative by starting the program but …

Member Avatar for anumash
0
188
Member Avatar for jediahsan
Member Avatar for h3xc0de

I am trying to implement a live support chat application where users can chat with customer service for support or general information. I'm having problems trying to figure out how to go about implementing it. I was thinking the best way would to be to use servlets to pass the …

0
70
Member Avatar for rohit joshi

hi can anyone pls suggest me website through which i can safely download a c++ software?

Member Avatar for jbennet
0
155
Member Avatar for rayda

[CODE]import javax.swing.JOptionPane; import java.util.Random; public class guess2 { public static void main(String[]args) { int num; int guess; int diff; String input; int Diff; Random randomNumbers=new Random(); guess=randomNumbers.nextInt(100); diff= num - guess; Diff=Math.abs(diff); input=JOptionPane.showInputDialog("Enter your guess."); num=Integer.parseInt(input); for(int i=0; i<5;i++) { while(num<0 || num>100) { input=JOptionPane.showInputDialog("Invalid number!Please re-enter: "); num=Integer.parseInt(input); if(Diff==0) …

Member Avatar for ~s.o.s~
0
230
Member Avatar for regina99

hey guys. i'm having trouble with looping a program. my assignment is to get the user to input a string and then display it backwards. i've successfully done this, but it's supposed to ask if you want to run the program again, and that's where my program fails. [CODE]public class …

Member Avatar for regina99
0
86
Member Avatar for guatemalagirl

HI! i need to create a program that lets user input as many numeric grades as they like.... in return they get the letter grade for each and the their grade average, minimum, and maximum. this is all i have so far...... import TerminalIO.KeyboardReader; public class LetterGradeWLT { public static …

Member Avatar for VernonDozier
0
94
Member Avatar for transplantedNYr

I am using Jgrasp, as that was the one I used a few years ago when I first started. Now that I am doing these again, I need a new one. I keep getting weird run time errors. The programs work in my class examples, but when run on my …

Member Avatar for ~s.o.s~
0
247
Member Avatar for nandomendoza

Does anyone know how i would write the code for the following instructions? Print the numbers from 3 up to 40 that are multiples of 5

Member Avatar for nandomendoza
0
102
Member Avatar for ntredame

I have to create a class called Day that will carry out certain functions. One of the things that it needs to do is it needs to be able to calculate and return the day by adding certain days to the current day. For example, if the current day is …

Member Avatar for h3xc0de
0
191
Member Avatar for punitdam

Is there any API to parse Word document and store it in database. For e.g. Say following is a content of word document. Name: ABC Address: XYZ Telephone: 12341234 Then from above document data extracted and stored in the table say Person_Details (Name, Address and Telephone). Can any one help …

Member Avatar for h3xc0de
0
74
Member Avatar for FrancisC07

hi guys..! i need some help on how can i print out the output of my program.. the problem is, it will only print out the first char of a characters and i don't know how to use the pointer using an multidimensional array. ex. input: jhonny output: j here's …

Member Avatar for zalezog
0
133
Member Avatar for bclark8923

For a class project we are to implement four types of sorts that they give us, and for the most part i have that working, but i wanted to know what would be a good data structure to use? Atm im just making an array, if it fills up, i …

Member Avatar for h3xc0de
0
102
Member Avatar for tones1986

Hi All, I am working on a project and have come across a slight problem. I have a file i am reading in that consists of the following: John Smith 333222333 01/01/80 M z11119 cs111 2008 fall a cs222 2009 spring f The first line is the Students information, the …

Member Avatar for tones1986
0
233
Member Avatar for sufi89

hey guys i am new to java...well data structures, i have this assignment, where we have to basically accomplish radix sort. The first method is building a master linked lists. i have not even started can anyone help with me with that package sorting; import java.io.*; import structures.linear.Node; /** * …

Member Avatar for h3xc0de
0
120
Member Avatar for telemachos9

Hello, I'm relatively new to c++, so I would appreciate any help. This must be a very basic issue, but how is it that one can assign a stuct or class member to a pointer instead of that structs or class member's address (via &)? (from stroustrup) [code] struct name{ …

Member Avatar for telemachos9
0
97
Member Avatar for slobo_n

Hi all. I have just started using Qt, and i can't find any primer on how to connect my Sql Server2008 database. What are the steps that i need to make, so my database is connected with Qt. Additional info: I'm using Qt 4.4.3 open source on Windows XP and …

Member Avatar for h3xc0de
0
85
Member Avatar for oldSoftDev

[code][code=java] public class LineSeg{ // these are the attributes of a LineSeg object private Point end1; private Point end2; private double length; // the constructor public LineSeg(double x1, double y1, double x2, double y2) { end1 = new Point(x1,y1); end2 = new Point(x2,y2); this.length=(double)(Math.sqrt((x2-x1)**2+(y2-y1)**2)); } }[/code]

Member Avatar for oldSoftDev
0
69
Member Avatar for Passiongamer25

I have a problem with my program and it has to do with my finding average function. The program goes like this: The program will grade a series of exams and then print a grade report for students in a course. Input: An instructor has a class of students each …

Member Avatar for Passiongamer25
0
172
Member Avatar for delerium12345

I'm having a lot of problems writing a program to open a file listing the grades of 4 students, all listed next to their names, and outputting an appended version of the file with the average of the scores next to the numbers on each line. it goes something like …

Member Avatar for h3xc0de
0
80
Member Avatar for akim_atl

I was trying to find the right answer to the question below and here are the 2 answers I come up with: srand(time(NULL)); or srand(clock()); If we want the random number library function to produce a different sequence of values each time the program is run which of the following …

Member Avatar for h3xc0de
0
77
Member Avatar for rosenberg_a

This is my code... [CODE] #include <iostream> #include <fstream> #include <vector> using namespace std; bool searchVect(vector<int>, int); int main() { bool answer; int value; vector<int> vect = {13579, 26791, 26792, 33445, 55555, 62483, 77777, 79422, 85647, 93121}; cout << "Enter the number to determine if there is a winner. \n"; …

Member Avatar for VernonDozier
0
134
Member Avatar for mcnally

[code] // gettingEvenNumbers.cpp // Purpose of this functions is to read in the numbers 1 - 20 // and print out only the even numbers using a loop of some kind. #include <iostream> #include <string> int main() { // Numbers being used. int x[] = {1, 2, 3, 4, 5, …

Member Avatar for mcnally
0
95
Member Avatar for easouza

I would like to programmatically convert existing Word and Excel documents into TIFF or PDF using JAVA without having to open the Office document (too slow). Are there any Office 2007 tools that could work or other 3rd party tools. The JAVA conversion program will run on Windows 2003 based …

Member Avatar for Ezzaral
0
108
Member Avatar for rlaknar

I have written a program in java for RSA algorithm to encrypt a string and decrypt on receiver side. RSA public key and n value are announced to receiver by sender. Then encryption process begins. The RSA program in sender side returns BigInteger which is the encrypted string and I …

Member Avatar for rlaknar
0
103
Member Avatar for ntredame

I need to read the last name and five grades for 10 students from a file and calculate the average of the grades and display that information in a file. I am pretty sure I know how to tackle this, but I have no clue how to separate the name …

Member Avatar for ntredame
0
98
Member Avatar for tones1986

Hey all. I have worked on this in a previous post, but because of the huge difference in work needed, i have reposted it here. First off, i created a project that would input data from keyboard of a student, this student had name,ssn,dob,school id information that was needed. After …

Member Avatar for tones1986
0
104
Member Avatar for CrimsonTider

Hey guys, I'm new to the forum and pretty new to C++. I think I'm just about finished with this project, but I've run into a couple problems. Here's my assignment: "Write class Lib and modify class Book such that this [URL="(http://cs.ua.edu/124/Spring2009/Projects/main.cpp)"]main[/URL] works as implied. For each class create .h …

Member Avatar for CrimsonTider
0
227
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
142