199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for freesoft_2000

Hi everyone, I have a question about threads. Consider the below program [code] public class test { public void test1() { System.out.println("Test 1"); } public void test2() { System.out.println("Test 2"); } public void test3() { System.out.println("Test 3"); } public static void main(String args[]) { test a = new Jtest(); a.test1(); …

Member Avatar for jwenting
0
106
Member Avatar for firebird

hi, i am very new to C++, i know almost nothing, how do i get the compiler to accept time as an input from a user.?????? I have to write a program to calculate the time distace given 2 times

Member Avatar for Dave Sinkula
0
104
Member Avatar for LoS_RoOcKoO

Hello, i want to write a program to print out a table showing time in 0.1 sec, soldier’s position, arrow’s position, and the distance in feet between the arrow and the soldier every tenth of a second until the arrow hits the soldier or he escapes, if he was X …

Member Avatar for steveh
0
176
Member Avatar for evilsilver

ok is there a way to play a music file in c++. and are you able to display a .jpg image in c++ instead of just bitmap files? any help would be greatly apreciated.

Member Avatar for evilsilver
0
100
Member Avatar for paoloSCG

ciao, please i need a help. do you have some program, or some advice where to find it, to traslate by C++ a EXCEL file(full of EXCEL functions) in a file (.txt) with the functions ready to be used in C++ (i need C++ sintax! no EXCEL sintax...). i thank …

Member Avatar for 1o0oBhP
0
207
Member Avatar for seeplusplus

alright, this program i wrote pops a menu up letting me choose one of the four options, after i choose an option, and it does that function, how do i get the menu to pop back up again so the user can choose another option? instead, my program does the …

Member Avatar for Intel
0
248
Member Avatar for tad73831

First, let me say I am NOT asking for someone to write this program for me. I have to see how functions and operations are used in programs to learn to use them in my own program. And I need help understanding how to use rand() in the program I …

Member Avatar for evilsilver
0
352
Member Avatar for Tester2

I am one of the many people trying to grasp something new in this forum. I come here, because it seems to frequented by C++ experts, who actually try to respond. I am trying to learn how to program an HTTP protocol based text file download. I have searched far …

0
112
Member Avatar for Guppy25

Ok, so i changed the "/" to a '/' but i can't get my calculate decimal function for work. I want to call a private function calculateDecimalValue() that computes a floating decimal of the fraction inside the enterFractionValue() function after the num and den are filled. I'm not understanding how …

Member Avatar for murschech
0
142
Member Avatar for mus_203

Hi I need to write a method that will rotate the elemnts in an array by a factor of k. ie shift each element k places to the right. Here is the question i have been set [B]In the class ArrayLinearList a linear list is represented in an one-dimensional array …

Member Avatar for mus_203
0
216
Member Avatar for George2

Hello everyone, I want to know which method owns the lock of a specific object (some of my methods are blocked because they can not achieve the lock of a specific object, and I am wondering which method owns the lock to solve the deadlock issue). Does anyone know how …

Member Avatar for George2
0
85
Member Avatar for George2

Hello everyone, I am looking for a light-weighted Web proxy in Java which can enhance the performance of my web server. I want it to be written in Java so that it can be used on any platform. I want to place the Web proxy between a specific Web server …

Member Avatar for George2
0
110
Member Avatar for iwonder

Hi You must have seen those Signature of people which show us the IP address .. here`s how you do it . :cool: : 1. First save a blank .txt file named counter.txt 2. then open notepad (or any PHP-editor u use) and paste this code : [PHP] <?php $TextFile …

Member Avatar for mikeSQL
0
157
Member Avatar for dr.danno

I am looking for ideas for a program that I am trying to build. I need to have two pictures, one blurred and one clear. The blurred picture will cover the clear picture so it appears blurred. I need the mouse to appear as a sight glass so when the …

Member Avatar for 1o0oBhP
0
133
Member Avatar for helmica

i before asked for help in my c++ problem and every one told me i have to do more effort so that might help me with it. please guys here is what i have reached and note that i dont have the visual studio 6 on my pc. i wrote …

Member Avatar for 1o0oBhP
0
180
Member Avatar for Guppy25

I've created a class Fraction, and declared a private static character to hold the slash for displaying the fraction in fraction form later on. I can't seem to get the static char to compile and I need to figure out what I've done wrong, thank you for the help, jennie …

Member Avatar for Dave Sinkula
0
117
Member Avatar for freesoft_2000

Hi everyone, I have a jtable and i need a way to be able to merge or to split the cells(both the rows and columns) selected by the user. I have seen the table model and jtable apis' and there seems to be nothing about this. I would appreciate it …

Member Avatar for jwenting
0
106
Member Avatar for Sukiebaby

I am having a problem getting the execution screen to stay in order for me to view the program. Can someone tell me what is wrong with my program please? // /* A parking garage charges a $2.00 miniumum fee to pack for up to three hours. The garage charges …

Member Avatar for evilsilver
0
251
Member Avatar for Young Teck 06

Something that I found a very completely good idea, I must say I am still kind of shocked of the version change. What people thought would be the 2005 forum debut of phpBB 2.2 is no more. :cool: What this means is that, now, its time for phpBB to make …

Member Avatar for php4ever
0
323
Member Avatar for Ryan L.

Hello, I am a java/html novice. Actually I have no clue as to what I am doing. Currently I have some java applets that communicate with a server and display data based upon what state the equipment is in. Say an input to a system is true it will display …

Member Avatar for freesoft_2000
0
179
Member Avatar for MrScruff

Hey guys n girls, I have two arrays (one for x and one for y axis) which contain labels i would like to display on a graph. How do you recommend i do this? I was thinking multiple JLabels, spread out depending on the quantity. But If theres a better …

Member Avatar for MrScruff
0
101
Member Avatar for Acidburn

Hello, I've managed to get linux installed on my box. Using fedora core 3 with a full installation........ Man all those games :eek: Anyway I'm left with a question I completed a working code in nedit and saved it has a cpp file. I open but a konsole find the …

Member Avatar for Intel
0
123
Member Avatar for helmica

hi all am having hard times since yesterday trying to solve this problem. Declare the following two integer lists: int a[] = {5, 8, 4, 1, 7}, b[] = {12, 3, 15, 6, 23, 1, 2}; int sizeA = sizeof(a)/sizeof(int), sizeB = sizeof(b)/sizeof(int); list<int> list1(a, a+sizeA), list2(b, b+sizeB); Use the …

Member Avatar for vegaseat
0
190
Member Avatar for Gink

Topic is misleading I edited it. What would be the best way to put a period at the end of a sentence without just adding it to the last word or last variable etc. Like say i had String s = "Hello I am a sentence"; what would be the …

Member Avatar for jwenting
0
137
Member Avatar for jenman77

I am taking a basic java programming class. Unfortunetly it is an online class, and I am unable to find a tutor. We are using the book Java How to Program sixth Ed. and are going through two to three chapters a week. I am soo lost!! My next lab …

Member Avatar for jwenting
0
189
Member Avatar for server_crash

I'm curious as to how many of you routinely use jdk 1.5 tigers added features, methods, api's and whatever. Or, do you just stick to 1.4?

Member Avatar for nanosani
0
172
Member Avatar for Khishin

I have a PvP TicTacToe program running, and everything is working fine, except for one thing: when a text character (q,w,e,etc) is entered the loop goes wild. Here's the portion of the code the loop is in, and if a text character is input instead of a digit, the loop …

Member Avatar for 1o0oBhP
0
116
Member Avatar for cdt1983

Hi, I have been trying to solve this problem for a while now. I wrote a program that analyzes 3 numbers entered by a user. All calculations are working fine. Now I am attempting to use 'if' statements to display the largest and smallest number entered. I am adjusting the …

Member Avatar for Gink
0
105
Member Avatar for croft

Hello again =) Now i have a question about vbulletin and its usergroup manager and some mysql questions that goes with it. We have a clan site and vbulletin forum. I have created a specific usergroup for our clan members. Now i want to display those users on a none …

Member Avatar for curiousdan
0
119
Member Avatar for Mooonky

I need the ball to move down until it hits the end of the blue rectangle then move back up until it hits the top and repeat forever. What's wrong with my code? [code] //This applet draws an animated bouncing ball with uniform speed. //The ball starts at the center …

Member Avatar for Gink
0
149
Member Avatar for neilpollick

UPLOAD PROCEDURE RUNS UP AGAINST "PERMISSION DENIED" I have access to a folder on a server and I am running my website from there. I can access the site with ftp, even eith a line in the address bar of IE [url]ftp://username:password@theremoteserver.com[/url] I have used this access to download the …

Member Avatar for dexterz
0
129
Member Avatar for hopeolicious

I have to write a program to read N data items into two arrays, X and Y, of size 25. Calculate and store the products of corresponding pairs of elements of X and Y in a third array, Z, also of size 25. Also, compute and print the square root …

Member Avatar for Dave Sinkula
0
111
Member Avatar for april_er

how to lauch a program from the desktop using window application? and how to save a converstion of the textbox to a file?

Member Avatar for april_er
0
162
Member Avatar for tux792

It has been many years since using the "$" for typing string variables and "%" for typing integer veriables and such. Now I have forgotten the rest! Does anyone remember the type casting symbols for "char", "double", etc? Example: ThisIsMyString$ or x$ or x% or BitBucket%, etc. I am programming …

Member Avatar for tux792
0
445
Member Avatar for shutupdave

Hi, For a school project i am making a quiz in vb. Im having trouble implimenting a countdown timer so that i could specify an amount of time before an action is taken. for example when a button is clicked there is 20 seconds before the next question is moved …

Member Avatar for shutupdave
0
101
Member Avatar for faisyshah

Assalam Alaikum in my site ( using ASP ) i have some products for sale. purpose is that when customer purchase product one by one the total sum of products price store in data base. for example if customer purchase 1 monitor price will be RS 4000 after that he …

Member Avatar for dexterz
0
91
Member Avatar for haleenha

[COLOR=Black][SIZE=4][FONT=Arial]I'm very frustrated at my computer. My friend had built me a computer and for some reason the Windows XP Home OS does not install...and if it does, the computer keeps crashing. (I've tried different cds of XP, even Windows 98-->NOTHING WORKS) I've tried using a new hard drive (Western …

Member Avatar for haleenha
0
85
Member Avatar for Sam Lehman

hi, i've got a bit of a roadbump in my work. I need to set all of the money values to have two decimal points on the end, but my current program only adds two places if there are more than one. right now, i am multiplying the value by …

Member Avatar for Sam Lehman
0
206
Member Avatar for supersonic

I am now trying to add 2 strings together. But I dont understand where my compiler is pulling the reference to an int from. This is my code [code] #include <iostream> using namespace std; class String { char *str; //pointer to character block public: String(); //default constructor String (char *s); …

Member Avatar for Siersan
0
104
Member Avatar for joejoenyc718

hi guys, i must right this program in c++ as 50% of my final grade and i have no clue how to do it because im a math major and im required to take this course is there anyone who can help me with this real quick pleaseeeee //* Write …

Member Avatar for Khishin
0
141
Member Avatar for seeplusplus

is this program i wrote so far going to store all the data entered by the user correctly?, i dont really understand structures completely yet. i think my cin statements need to store them differently to reference the structure. my code: #include <iostream> int main() { struct students { char …

Member Avatar for Dave Sinkula
0
153
Member Avatar for huckbird

hello everyone please can someone help me. i am trying to help my school produce a voting system so that we can vote for various things using computers but i am only a beginner at visual basic and keep getting compile errors. i have tried and recently been very stressed …

Member Avatar for huckbird
0
168
Member Avatar for QTpie

Below is my source code, it won't compile and says that there is a Microsoft Run-Time error (1.#IND), can anyone help me out? Thanks! /*Program: hwassign3.cpp Author: Melissa Hubbard Date: January, 31, 2005 Purpose: This program was designed to take information from a user and perform the quadradic equation Ax^2+Bx+C=0 …

Member Avatar for Dave Sinkula
0
266
Member Avatar for samaru

[size=4]Sams Teach Yourself Active Server Pages in 24 Hours[/size] [b]by Christoph Wille, Christian Koller[/b] Worth it for its price, but prepare to work - If you buy this book, then be prepared to work. If you're new to the whole programming field, or maybe just web programming, don't think the …

Member Avatar for Aykon
0
174
Member Avatar for ellas747

I'm having problems. I get the addition part. can somebody help. Here is the code i wrote so far. thanks, [code] #ifndef complex.h #define complex.h class complex { public: complex(); complex(double real, double imaginary); void complex addition(const complex &a); void complex printcomplex(); void complex setcomplexnumber(); private: double realpart, imaginarypart; }; …

Member Avatar for 1o0oBhP
0
157
Member Avatar for ingeborgdot@yah

I need to transfer email addresses and email from one computer to another. What is the easiest way to do it? It has windows 95 or 98 on the one with outlook 97 and I want to transfer it to a new computer with outlook 2003 running xp pro. Can …

Member Avatar for steveneven
0
135
Member Avatar for Foxtildawn

I keep getting an error message when i try to run this program. It says he error is located at the cin >> fileName line in the load function. Any help would be great thanks: error C2679: binary '>>' : no operator defined which takes a right-hand operand of type …

Member Avatar for Narue
0
162
Member Avatar for dallin

I have a Distance Structure that includes Miles, Feet, and Inches. The user inputs these amounts 3 digits for miles, 4 digits for feet and 2 digits for inches. Not all of the time the user will input the full number of digits, when the user doesn't input the full …

Member Avatar for Dave Sinkula
0
112
Member Avatar for nico

Is there a diffrence between the GetTickCount() and rand() functions ? I read they both are Psuedorandom number generators , I would like to know if there is any diffrence between those two functions , I used rand() once and the output was the same each time the program run …

Member Avatar for nico
0
587
Member Avatar for jure

hello im trying to make a shell script that "downloads" links and topic that is to the link but i cant make it work. It is supposed to get the urls from a txt file or a file. [code] IFS=`echo -e "\n\r"` for I in `cut -f1 $1` do source=$(echo …

Member Avatar for jure
0
151

The End.