132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hurdy011

the code that is attached it what i have done so far but dont seem to be able to get the test file to get it to display the informationthe code i have is shown below import java.io.*; import java.util.*; public class league{ private static final int MAX_TEAMS = 50; …

Software Development display file-system java
Member Avatar for hurdy011
0
109
Member Avatar for Dounia

:!: Please look at all my message it is not long as it seems. My question is at the end and thank you in advance. Here is a small class called Record that is a utility class for the InventorySet class. final class Record implements Comparable { /** * The …

Software Development java video
Member Avatar for Dounia
0
170
Member Avatar for MrScruff

I guys and girls - im a MrScruff and found your forums when searching for some java problems. It looked like a nice place so i decided to join up! Heres my first java question which has had me perplexed for 2 days considering im sure it should be simple. …

Software Development encryption java
Member Avatar for jwenting
0
284
Member Avatar for Eclipse

[QUOTE]P = R*P*(1-P) Input: R (growth rate parameter) Double values between 0 and 10. Input: P (population) Double values between 0 and 1. Output: P (New population) on the console in rows of five numbers the exit conditions are the population becomes extinct or stable. Extinction occurs when the new …

Software Development java
Member Avatar for jerbo
0
160
Member Avatar for paynekiller

hey all, what would be the calculations needed for making a simple sprite opject point towards the cursor position? ta

Software Development c++
Member Avatar for vegaseat
0
137
Member Avatar for ravit

Which file supposed to replace the file crtdbg.h in embedded c++? Is it possible that I don't have it in the embedded c++ environment? I'm trying to convert a project that wrote in visual c++ to Embedded visual c++?

Software Development c++
Member Avatar for frrossk
0
304
Member Avatar for George2

Hello everyone, Using join can control how much time will we wait for a specific thread to accomplish its execution. I am meeting with a new scenario, which is a little different. My requirement is that I want my main thread starts several threads at the same time, which will …

Software Development java
Member Avatar for George2
0
144
Member Avatar for missy

Write a program that will prompt a user to enter an integer between 2 and 999, inclusive. As output, the program will display all prime integers between 2 and the user-input value. This program will use a process of “cancellation

Software Development c display
Member Avatar for Narue
0
145
Member Avatar for rohit_macharlra

[COLOR=Navy]hello everybody i developed a player using JMF in java. it is unable to play MPEG4 format. any one help me how to make my player to play MPEG4 format files[/COLOR]

Software Development java
Member Avatar for vrc_sekhar
0
136
Member Avatar for billfrost

Hi I have this html page in the same directory as the ilookpano.zip file as well as the int.caddy.jpg, why is it not working? I would be most gratefull if some one can help. I found this applet on someone else's site and just downloaded the .zip file which has …

Software Development java
Member Avatar for billfrost
0
97
Member Avatar for N3wbi3C0d3r

[CODE] //Program to collect and hold data on CD's #include <iostream> #include <fstream> using std::cout; using std::cin; using std::endl; using std::ifstream; int main() { int QA; cout << "To veiw file press v, to add a new CD press a:\n"; cin.get(QA); if (QA == v) { while (CDs.get(ch)) cout.put(ch); } …

Software Development c++ ios
Member Avatar for jwenting
0
146
Member Avatar for matt_5104

I'm having a problem with a GUI i'm building. I have a separate class called Calculations.class which does nothing except hold certain variables and do calculations with them. One of my classes requires a user to enter numerical data, and when a button is pressed, these variables are set in …

Software Development gui java
Member Avatar for tozaheer
0
126
Member Avatar for nutwood33

Please could someone help me with a very simple question. I use VB macros quite extensively for a variety of data contol tasks in Excel. I'm totally self taught assisted by "Help" and frustration in equal measures. "Help" tells me I'm using VBA 6.0.8435. I would like to learn more …

Software Development visual-basic
Member Avatar for nutwood33
0
132
Member Avatar for joey15

I have to add to an exisitng Java program the code for the DSW algorithm to balance a binary tree. I am relatively new to programming so I dont know where to start. Does anyone know where I can find an example of the code? Thanks Joey :-|

Software Development algorithm java
Member Avatar for joey15
0
1K
Member Avatar for Faramba

How can we print the output of the program(which is in the black environment, dos form)in the c++ visual studio 6 compiler?

Software Development c++ visual-studio
Member Avatar for Extreme
0
95
Member Avatar for jcr1

Any tips on starting a complex number calculator program?

Software Development c
Member Avatar for alc6379
0
464
Member Avatar for mendrif

I'm not sure how to get started with this. Here's the assignment and what i've done so far, but I'm not sure if i'm going the right direction with this. The assignment says to have the user enter input one character at a time. That means one letter or space …

Software Development c++ display email
Member Avatar for mendrif
0
169
Member Avatar for ryan_qut

Hi, i wanted to overload a + operator to add two objects..i have an error which states "invalid operands `employee *' and `employee *' to binary `operator +'".. i do not know what is wrong with that statement, can anyone pls point out my mistake?? Thanks. the problem lies with …

Software Development c++
Member Avatar for Dani
0
168
Member Avatar for Domainstop

Can someone please tell my why the following won't compile? } void main() { I'm pulling my hair out! Kevin

Software Development c
Member Avatar for Tresa
0
178
Member Avatar for fivetoesonefoot

hey i was wondering if someone could help me with this problem. i am so incredibly and utterly confused. here it is... write a simple phone directory program that looks up phone numbers in a file containing a list of names and phone numbers (called input.txt). the user should be …

Software Development c++
Member Avatar for Tresa
0
203
Member Avatar for old lady

I've written programs for averaging lists of exam grades but throwing in the percent is throwing me for a loop. I don't know how to handle this information. Any help will be greatly appreciated. > //Write a program that asks the user to enter a student's midterm > //and final …

Software Development c++ display
Member Avatar for jwenting
0
164
Member Avatar for bajanstar

Hi, I am very new to this forum and i have a problem with my C assignment. Im using Borland C++ 4.52 and i keep getting an error saying: General Protection Exception 0x241F:0X41C1 NONAME02(1)0X241F:0X41C1 Processor Fault It not the computer its the code at least thats what i figured because …

Software Development c++
Member Avatar for bajanstar
0
127
Member Avatar for grifflyn

Hi i have written a program to identify all the vowels in a sentance and need to output the number as Stars. at the moment it is outputting the number how would i tell the program to output 5 stars instead of the number 5 this is what i have …

Software Development java
Member Avatar for grifflyn
0
114
Member Avatar for psylocke

i have a public class named as clsbanking using JFrame, and then this frame has a menubar, that has FILE menuitem in it. the FILE menu has an Exit option which will actually close the whole frame for termination, unfortunately my codes doesnt work, what should be my code then. …

Software Development java
Member Avatar for psylocke
0
144
Member Avatar for alexis

OK here is the deal...ive looked and looked at my java book...i am in oracle 2 this year this will be my 1st year...i am doing allright in it...as long as the book can help me...but see i cant find these answers...i have found 1, 2, 3 but not the …

Software Development java oracle
Member Avatar for jwenting
0
107
Member Avatar for Alfy

#include <stdio.h> #include <string.h> int i,k,type; char buffer[100],l,line[50]; struct student { char name[20]; int age; int id; }; struct student st[2],temp,*sp; int sort(struct student *p) { *sp=st[0]; p->age; for(i=0; i<l; i++) { if(st[i].age<st[i+1].age) break; else if(st[i].age>st[i+1].age) { temp=st[i]; st[i]=st[i+1]; st[i+1]=temp; }break; } printf("\t\tsorted student information\n--------------------------\n"); printf("%d",st[i].age); return(0); } int main() …

Software Development c unix
Member Avatar for jwenting
0
174
Member Avatar for Der_sed

the typical question which ask user to display THIS * ** *** **** ***** ****** ******* ******** ********* ********** using a single cout<<"*" & cout " " with the help of [B]for loops ONLY[/B]. :) ive come to this this prgram but can anyone tell me where i am going …

Software Development c++ display
Member Avatar for Der_sed
0
113
Member Avatar for Programming sta

i have been asked to write a program to detect 3 classes of virus worm etc.. and remove them in any language of my choice but i do not have an idea how to do this and would much appreciate if some one please advise me!!!!

Software Development java
Member Avatar for BountyX
0
193
Member Avatar for Darkfoxx

Hello. I have made a program that rolls a pair of dice and then calculates the percentage of time a number has come up (see output on image). I am having a problem getting the percentages right...mostly because I calculate the average...how would I get the percent??? However, the main …

Software Development image java
Member Avatar for Darkfoxx
0
123
Member Avatar for kiki021600

hi I am trying to write a simple cat program in C but am getting very confused. I thought i knew where to start but I dont. the assignment says: You will be writing a simple version of the program "cat". It must accept as arguments any number fo filenames. …

Software Development c
Member Avatar for Narue
0
1K
Member Avatar for Young Teck 06

I need some help, what would everybody out there recommend for a C++ Compiler. I am thinking about paying $110 for Visual C++ "Standard". Does anybody know if this software is great and what are the best features of it. Other recommendations are also welcome.

Software Development c c# c++
Member Avatar for vegaseat
0
369
Member Avatar for toadie2004

This is my project: Read the data one line at a time and store them in two different arrays. Pass the first array to a function that sorts the array in ascending order using selection sort. Pass the second array to a function that sorts the array in descending order …

Software Development c ios
Member Avatar for jasweb2002
0
103
Member Avatar for LoLo

Need help with making this work. I can't get the System.format (prepayment) to work. class Mortgage { static NumberFormat fmat = NumberFormat.getCurrencyInstance(); public static void main(String args[]) { String input_amt = JOptionPane.showInputDialog("Enter loan amount: "); double loanAmount = Double.valueOf(input_amt).doubleValue(); String input_rate = JOptionPane.showInputDialog("Enter rate: "); double interestRate = Double.valueOf(input_rate).doubleValue(); String …

Software Development java
Member Avatar for LoLo
0
121
Member Avatar for Dounia

:confused: Hi, I have this homework to do and I have to solve a method called: public Collection toCollection(). Here is what i solved so far: final class InventorySet { private Map _data; int thesize; InventorySet() { // TODO _data = new HashMap(); } /** * Return the number of …

Software Development java
Member Avatar for Dounia
0
171
Member Avatar for winds

i'm try to do a fingerprint verififcation system with minutiae matching, function include threshold, thinning, and ridge detect. can any1 help and giving sample code??

Software Development c
Member Avatar for jwenting
0
100
Member Avatar for SelArom

Hi I'm Josh and I'm new to these forums, and new to c++. I hope that I can get some great hints and help from the community. thank you in advance! I'm trying to create and use a hashtable class that uses a linked list for separate chaining. I've completed …

Software Development c++ linked-list
Member Avatar for SelArom
0
211
Member Avatar for cltc72

i need to a sub class for the boat rental but i am not sure how to do it i will give the code and it needs to inherit to the parent class can somw help out

Software Development java
Member Avatar for Narue
0
120
Member Avatar for mellinda

hia, the below program is a Simulation of Producer-Consumer Problem using Race Condition.Please can anyone help me to finish this program in java language.Thanks a lot lux melxxx Producer/Consumer code int BUFFER_SIZE = 100; int count = 0; void producer(void) { int item; while(TRUE) { produce_item(&item); if(count == BUFFER_SIZE) …

Software Development java
Member Avatar for jwenting
0
140
Member Avatar for dontcare

I would really like to learn how to debug my programs. The book I'm using does not have much info on debugging and my instructor hasn't said much on the topic either. I ended up re-writing my source code because of seg fault error. The program works fine now, but …

Software Development c++
Member Avatar for Chainsaw
0
121
Member Avatar for boujibabe

I have a problem which states that good people all have last names that be begin with the letters G through L; all the others are bad. The program must differentiate the good people from the bad. Does neone have any design ideas? output:Name? Farley Farley is a bad person

Software Development c++
Member Avatar for boujibabe
0
145
Member Avatar for freesoft_2000

Hi everyone, I am trying to export a jcomponent as an image. The program all works but seriously the the quality of the saved image is really disgusting. The words seems to be blurred. I think i have to use rendereing hints but i am not sure how there work …

Software Development image java
Member Avatar for jwenting
0
118
Member Avatar for zack_rage

im studying programing fundamentals. I dont know what is the commands and syntax of c language..can u give me some information and tutorials about this c language....coz, i can't find any website about c language, is there any tips on creating basic programs..thnks!!!!!

Software Development c c# c++
Member Avatar for zack_rage
0
177
Member Avatar for jamievmi2

Hello, this is my first post, so i'm sure i'll fumble it a little bit. I'm writing a program that has a switch, a nested if, and an output choice of console or new file on a:. I feel like all my switch and nest is good, but i'm missing …

Software Development c++ first-post
Member Avatar for jamievmi2
0
334
Member Avatar for Asif_NSU

I have a weird situation. Suppose a string will be entered as an input. using the getchar() function i count the number of characters the string contains until a new line character is encountered. So i know the size of the string. And then i try to allocate enough memory …

Software Development c
Member Avatar for Narue
0
3K
Member Avatar for Intro2Prog

1) Read an integer # from the file [I]balance.dat[/I] that represents the balance on your checkbook (Assume integer #'s only) 2)let the user enter an amount to write a check. 3)If there is enough balance to write teh check then display the message ([B]OK to write check[/B]) if the check …

Software Development c++ display
Member Avatar for Narue
0
113
Member Avatar for souphmars

here is the class i am using, and my main program that i have started-i need to use the LltC class as u can see-i keep gettin an error sayin list1 undeclared identifier-somebody please help-thanks

Software Development c
Member Avatar for Narue
0
142
Member Avatar for skeet123

I am having a very hard time trying to solve this problem.Here are the instructions to the assignment: Implement a Priority Queue using a heap. The heap should be implemented as a class that has a private member which is an array. The array is statically allocated and the size …

Software Development c++ queue
Member Avatar for skeet123
0
161
Member Avatar for phr0stbyt3

this program is supposed to create a box with a horizontal line of the limit that a user inputs from 2-9... for example a limit of 5 would create: 5$$$$ $5$$$ $$5$$ $$$5$ $$$$5 an input of 4 would create: 4$$$ $4$$ $$4$ $$$4 and so on... i cant seem …

Software Development c++
Member Avatar for iumair
0
123
Member Avatar for dontcare

The program is supposed to pen and read a file with student’s scores for a semester. Display a chart with the average and median scores for each section and each lab. Example: CS 111 this semester has 7 sections and 10 labs. The output will be a chart with 7 …

Software Development c++ display file-stream
Member Avatar for jasweb2002
0
129
Member Avatar for dats

I need help ... I think I know what I'm doing one min. then the next I'm lost :o . Please help ... #include <stdlib.h> #include <conio.h> #include <stdio.h> #define SIZE 5 void quickSort(int[], int ); void q_sort(int[], int, int ) ; // ***** Main program ***** int main(void) { …

Software Development c
Member Avatar for dats
0
93

The End.