132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for paradox814

When I open a Java Program, I want a method which returns true if the program is already running, and false otherwise. Is there a way to check for this? For example, say we open our web browser, the first time we open it, i want the method to return …

Software Development java web-browser
Member Avatar for tonakai
0
184
Member Avatar for dreyes67

:?: Ok, this might sound like a dumb question. I am a beginner and I am not sure how these programs work. Our programming dept. creates and maintains severl programs they wrote in VB6 and VB6.NET. Every few weeks they make changes to some of them and they go to …

Software Development vb.net
Member Avatar for Comatose
0
189
Member Avatar for notbunny

I'm kind of lost. I'm trying to find the mode value in the list. All list are stroed in array. Anyone has any idea?

Software Development c++
Member Avatar for notbunny
0
118
Member Avatar for tyczj

i cant figure this out, here is what im suppose to do Create a text file containing the pertinent information for the following table(not the identification row): [code]Employee No. Department Pay Rate Exempt Hours Worked 101 41 8.11 Y 49 722 32 7.22 N 40 1273 23 5.43 Y 39 …

Software Development c++
Member Avatar for Dave Sinkula
0
177
Member Avatar for Ghost

Hi Everybody, I was wondering if anybody knew if you can controll hardware with Java (open the CD drive, etc.). Thank you in advanced, C++

Software Development java
Member Avatar for miri
0
140
Member Avatar for SSSBoy

Anyone know how to remove an object at a particular index from an array? Im doing a Noah's Ark project for my class and Im using an Array to hold the abstract animal class and once an animal dies, I have to remove it from the list. However I can't …

Software Development java
Member Avatar for miri
0
238
Member Avatar for vex

What development kit is the most widely used? Which is the easiest to use? Thanks in advance

Software Development java
Member Avatar for miri
0
266
Member Avatar for mel2005

hello am in need of some help on question 7 and 11, if someone has time please also try question 15. i really don't have any idea how to do the following question, and i need to have this assignment in soon. could you please try. thank you (7) allows …

Software Development c++ display
Member Avatar for marinme
0
280
Member Avatar for ellas747

I have this code that I started on but cant seem to finish it. i have to create an file and put the outcomes in it. I cant seem to figure it out. can soemone please help. thanks, john [code] #include <iostream> #include <fstream> #include <cstdlib> #include <ctime> using std::cout; …

Software Development c++ display ios
Member Avatar for ellas747
0
184
Member Avatar for Raiders

[COLOR=Blue][FONT=Arial Black][SIZE=5]:idea: [COLOR=Blue][FONT=Arial Black][SIZE=4][FONT=Arial][SIZE=2]hi everyone, i need some help. My question is , if i want to input a password which is 123456, how do i output the password on the screen using ****** instead of 123456. Do anyone know how to create the source code ???[/SIZE][/FONT][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR]

Software Development c
Member Avatar for Dave Sinkula
0
188
Member Avatar for xanatoes

Hey, Microsoft is sponsoring their 2005 annual contest, “You Can Make a Difference

Software Development microsoft visual-basic
Member Avatar for Toulinwoek
0
106
Member Avatar for Acidburn

Hello, our tutor set us a task to do , which was make a vector out of a class. So I've implemented a basic one but it doesnt work well... its runs ect ... but when you re print the entered elements it doesnt print the correct ones: [php] #include …

Software Development c
Member Avatar for Dave Sinkula
0
167
Member Avatar for banbangou

Anybody can help to explain why "m_line.replace(idx, m_search.size(), replace);" doesn't compile in cygwin and how to change it? Thanks. [code] using namespace std; int main(int argc, char *argv[]) { assert(argc==3 && "Usage: <searchstring> replacestring> to process stdin"); string m_line; string m_search(argv[1]); string m_replace(argv[2]); assert(m_search!=m_replace); while(getline(cin, m_line)) { while(true) { string::size_type …

Software Development c++
Member Avatar for banbangou
0
125
Member Avatar for oberle1515

I need to find the square root of the following numbers 0,2,4,6,8,10,12,14,16,18,20 I know how to use the square root method I know how to use the loop function to find it for all numbers If I just wanted to print the numbers I can do this What I cant …

Software Development java
Member Avatar for oberle1515
0
144
Member Avatar for dazzer143

i'm having a trouble getting this right .. Write a program to calculate parking fee for customers who park their vehicles in a parking lot when the following information is given: The time the vehicle entered the lot (in 24-hour format, without a colon, such as 1645) The time the …

Software Development algorithm c++
Member Avatar for peter_budo
0
224
Member Avatar for tyczj

im doing this lab and im so lost on it, i dont know where to start. here is the link for the lab [URL=http://north.ecc.edu/kuroskit/cs111-01-sp05/labs/Lab10%20spg%2005.doc]Lab[/URL] now im not lookin for someone to do it for me just help me out on gettin started. im not sure how to use arrays and …

Software Development c
Member Avatar for tyczj
0
228
Member Avatar for Ghost

Hi Everybody, I was wondering if there was a way to take a string in a java project and put it in the username field (like the field on [url]http://www.inquiryBio.com/WEBPROTECT-job.htm[/url] ) of another program. I think you may have to access another class somewhere else.Just so you know... I'm doing …

Software Development java
Member Avatar for paradox814
0
234
Member Avatar for Ghost

Hi, I was wondering if there is a way to control hardware in C++, such as opening and closing a CD drive. Thanks in advanced, C++

Software Development c++
Member Avatar for Ghost
0
820
Member Avatar for wal99d

[B][code] #include <stdio.h> #include <math.h> int main() { double op1,op2; char opp; char *res= "2 ^ 1"; sscanf(res,"%d %c %d",&op1,&opp,&op2); printf("%d\n",op1); printf("%c\n",opp); printf("%d\n",op2); printf("====\n"); printf("%d\n",pow(op1,op2)); /* the output is for sure 2 */ } [/code][/B] [COLOR=Blue][B]but it output : 1073741824 <-- ??? I don't know what here so please any …

Software Development c
Member Avatar for wal99d
0
326
Member Avatar for server_crash

This is kind of a weird senario. This question was at the java state championship I was at a few weeks ago. Here was the question: Which type of class cannot be instantiated: abstract static (choices I can't remember..they were wrong) Would both abstract and static be correct answers? I've …

Software Development java
Member Avatar for server_crash
0
1K
Member Avatar for blacknight

i am writing an app. for my company that hast to edit regitry entrys on pc in our network. any idea how i can solfe this problem??

Software Development vb.net
Member Avatar for Comatose
0
342
Member Avatar for bluegoo06

I got most of this too work, i talked to my teacher and he gave me some hints but i cannot get it full. The idea is to get the program to count specifically how many "a"'s there continueing through all the 26 letters. I cannot figure out exactly out …

Software Development c++
Member Avatar for Dave Sinkula
0
175
Member Avatar for thlegendkiller

a program that will display teh string "HELLOWORLD" in ascending style [code] #include<stdio.h> #include <conio.h> void main() char str[]="HELLOWORLD" int i. choice; while(1) { clrscr(); printf("(1) Ascending style\n"); printf("(2) Exit\n"); printf("enter your choice:"); scanf("%d", &choice); printf("\n\n"); switch(choice) { case 1: [B]for (i=0; str[i]!='\0';i++) //--> Please!!! this is where i need …

Software Development c display
Member Avatar for Narue
0
345
Member Avatar for stupidenator

I just have a quick, dumb question about interfaces... What are they? I mean my teacher has been trying to explain them and I didn't pick up on that and then I read about them in a Java book and on the internet, but it's still just not clicking. I …

Software Development java
Member Avatar for stupidenator
0
156
Member Avatar for smgtreker

Hi, I was wondering if there is a way of stoping the automatic code generation for form controls. I want to stop .NET creating the Text property (and only this property) for the "initializecontrol" function, so that I can do it myself later on in the initialization(the values will be …

Software Development
Member Avatar for rcmetta
0
108
Member Avatar for Harvester

So there are test results in a txt file. (In this format: student id (int), First Name (String), Last Name (String), points (double). One student/line). I need to make an ArrayList<Student> using the txt file (Student has a student id, first name etc.), . I know how to read the …

Software Development java
Member Avatar for Harvester
0
153
Member Avatar for JGee

I am new to programming and I kind have got myself into a bet with a mate that i can create a basic program in three weeks. The program needs to be able to show a missile launching from country to country and exploding. It needs to miss about 40% …

Software Development java
Member Avatar for dakkar
0
199
Member Avatar for Fasola

Right now I'm reading up on the chapter "File Processing" to help me quench my thirst for putting C++ to USE in the real world. Seems to be the most powerful subject so far. Can you please clarify the difference between Sequential Access Files and Random Access Files? What are …

Software Development c++
Member Avatar for Fasola
0
194
Member Avatar for bob901

hey all :) i locked some files using win rar and cant remember the pass lol, so heres my qu, can you make a password cracker in java for it, if so can someone tell me how stpe by step :).

Software Development java
Member Avatar for bob901
0
317
Member Avatar for nabil1983

Does ne one know how to answer this question? Discuss the truth or otherwise of the statement “Recursion and loops are the same thing".

Software Development java
Member Avatar for paradox814
0
285
Member Avatar for Phaelax

Does anyone know of a Highlighter class I can use with JTextArea for HTML code?

Software Development html-css java
Member Avatar for dakkar
0
144
Member Avatar for phani.n

wat exactly servlets are? how r they used in java? wat r the real benefits by using java servlets? give a detailed theory and example for servlets in simpler words.

Software Development java
Member Avatar for dakkar
0
151
Member Avatar for winbatch

Hi, I'm trying to write code such that my class can be used like so: To accomplish this, I'm trying to overload the + operator of my class to return a string. I am able to do this, but when I try and do the operation above, I get: Error: …

Software Development c legal
Member Avatar for Narue
0
302
Member Avatar for Fasola

I can't figure out how to write a program that will work over a network of computers? How do you get a program on one computer to carry out instructions that will affect a program on another computer or computers? Does anybody have any ideas?

Software Development c++
Member Avatar for Narue
0
218
Member Avatar for johnson9000

I am trying to push a pointer into a vector, but my compiler gives me the error: request for member 'Add_Object' in theContainer, which is of non-agregate type 'Container(X)' Please tell me what I am doing wrong. Here is my code: [CODE] #include <vector.h> #include <iostream> class Object { private: …

Software Development c++
Member Avatar for johnson9000
0
165
Member Avatar for ikanku15

my programme has the strcmp. but i dont understand what it is use for. while((strcmp(current->bed_num,beddelete))!=0) bed_num and beddelete i have declared as an integer variables. when i run the programme, it stated that invalid conversation from 'int' to 'const char*' what does it mean?? thank you

Software Development c
Member Avatar for Narue
0
226
Member Avatar for feda

please ,if one can help how to implement caht application using socket in c/unix or help me with example code of that with my thankssssssssssssss feda

Software Development c unix
Member Avatar for feda
0
75
Member Avatar for wal99d

[COLOR=Blue][B]Is the following code correct:[/B][/COLOR] [CODE] char * cmd="ls -l"; /* Unix command used for listing */ char * spCmd; spCmd = strtok(cmd , " ");/* it divides the cmd in to tokens */ execvp(spCmd[0] , spCmd);[/CODE] [COLOR=Blue][B]output of this code to execute command that is written in cmd ?[/B][/COLOR] …

Software Development c unix
Member Avatar for wal99d
0
249
Member Avatar for Acidburn

Hello, I recently programed a hangman game, However it as flaws with are buggin me! Basically you sak the user for a guess, then the outcome is displayed... then I've cleared the screen and redraw / reload it. This wouldnt be done in the real world since rendering would take …

Software Development c++
Member Avatar for prog-bman
0
136
Member Avatar for falaky

[B]hi alll am a new member of this this amazing community and feel good to be part of it.i required help regarding simulation of multilevel feedback queue.i have checked many samples of scheduling but couldnt got right...so can any body help me?? code of this simulation should be in c/c++ …

Software Development c++ queue
Member Avatar for jwenting
0
232
Member Avatar for nabil1983

Can someone explain this sort algorithm to me and how i can make a more efficient version, justifying the changes. for (int p = 0; p<n-1; p++) for (int counter = 0;counter < n-1; counter++) if (a[counter]> a[counter+1]) swap(a, counter, counter+1); Apreciate all help.

Software Development algorithm java
Member Avatar for jwenting
0
157
Member Avatar for MrNiceGuy82

Im having trouble with the Running product in my C++ program. Where is the question: > 2. Write a program that repeatedly reads in integer values until a value less than or equal to zero is entered. For each value, it should print the product of the numbers from 1 …

Software Development c++
Member Avatar for Narue
0
125
Member Avatar for sara

Hi.. anyone outthere have sample coding leave application. This application will calculate how many days u take leave not including public holidays. Please help me?

Software Development vb.net
Member Avatar for sara
0
185
Member Avatar for phantomlady

Hi, newbie question, Im trying to get a thumbnail picture on a html page to open a seperate (sized browser window (about 300/300 or so)-view Large version of the thumbnail. I'd like to specify a background image (if possible), but just trying to get an image to open first of …

Software Development flash image java
Member Avatar for phantomlady
0
146
Member Avatar for jmozzie

I have until Monday at 3:00 pm to get this chat client working. I have been at this for 2 weeks, now. I have finally given in to asking for help. I'm trying to convert the following specs into code: 1. In the launchFrame method, you need to make the …

Software Development client-server java
Member Avatar for jmozzie
0
178
Member Avatar for wsn

hello everyone, I'm writing a function traverse for a doubly liked list, I can only use these private members: Node *current , int count, int mutable current_position and one one private member function void set_position(int position) const The post condition of member function traverse is the action specified by function …

Software Development c first-post linked-list
Member Avatar for wsn
0
132
Member Avatar for haskari
Member Avatar for Narue
0
176
Member Avatar for jhdobbins

Just curious how you feel about a few things... First, how do you feel about operator overloading? Our next project "can" involve it if we chose and I think it would be easier that way, but the TA's said some people think its a bad idea. I was just trying …

Software Development c++ visual-studio
Member Avatar for jhdobbins
0
103
Member Avatar for haskari

plz anyone urgently send me the coding of graph create of trig nometric functions in c language.i have to summit my project with in 18 hours from now on .sos.

Software Development c
Member Avatar for Narue
0
112
Member Avatar for mb1

I have to write a function that reads a string and outputs only the consonants. example: string: adadad output: ddd I wrote a program without the function and it works. Now I'm trying to change the program to use the function. As of now my only error is: error writing …

Software Development c++
Member Avatar for Narue
0
100

The End.