132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for williamku87

who can help me in java? this is my code: //employee.java public class Employee { String emp_id; String emp_name; String emp_icno; char emp_gender; String emp_dob; String emp_addr; String emp_comDate; String emp_dept; String emp_pos; double emp_sal; public Employee() { emp_id = "99999"; emp_name = ""; emp_icno=""; emp_gender='m'; emp_dob=""; emp_addr=""; emp_comDate=""; emp_dept=""; …

Software Development java
Member Avatar for piers
0
125
Member Avatar for nuch1311

/* Program Name: MonthlySales.java Author: Dominick Saccoccio Date: 2-19-08 Description: The program provides an end-of-the-year sales analysis for a company. The revenue contains total sales for each month, where revenue ={ 16692, 2504, 2463, 1857, 2369, 2684, 3374, 2630, 2531, 1928, 2692, 2578} presents the sales of January to December. …

Software Development java
Member Avatar for piers
0
123
Member Avatar for mtbutt

Salaam all of my friends....i want to tell all of u that i want to make a banking system that shows the different department information like Account dept.First of all the account dept take some money and add the user account if the user want to withdrow the money then …

Software Development java
Member Avatar for piers
0
101
Member Avatar for Mikesvb

Hi there.This is my first post here.I need help urgently. I getting desperate because I got a deadline for a project in 3 weeks time.I'm trying to do a 2 X 2 matrix multiplication applet that simulate systolic architecture.Should be something like the Wallace Tree Simulation. It can be seen …

Member Avatar for jbennet
0
118
Member Avatar for knowledgelover

Hi there, I had download a C# code for connecting a mobile with a computer using the bluetooth, but I had for the first time see these : using System.Linq; using C4F.DevKit.Bluetooth.DeviceAndServiceDiscovery; using system.core; using system.data.datasetextensions; I know I have to download the appropriate library, I have searched the net …

Software Development
Member Avatar for knowledgelover
0
250
Member Avatar for tomeagle

I am a beginner and need help with my program in C. My assignment is to find all the prime number up to the number the user input using a sieve algorithm. for example if user input 6 , the prime numbers will be 2, 3, 5. Then it should …

Software Development algorithm c
Member Avatar for VernonDozier
0
216
Member Avatar for joshjohansen

So I have taken on an extra credit assemly code challenge, and I am having a hard time getting started. What I need to do is be able to divide two 16 bit numbers and then display that answer. I can figure out how to divide a 16 bit number …

Software Development assembly
0
285
Member Avatar for Nemoticchigga

Hey, This may be real basic and Im just drawing a blank. How would you process a byte of info recieved over a serial port. I am writing a char*, recieving 1 (4 bytes) char at a time. I would like to return the entire read back as a char*. …

Software Development c++
Member Avatar for Nemoticchigga
0
161
Member Avatar for Roebuc

Hello all, I have been working on a homework assignment that has to build a program for a user to enter student's grades and see the student's average as well as a class avaerage. Besides some cleaning up, organizing, and labeling I am pretty happy with it and it is …

Software Development c++
Member Avatar for Roebuc
0
586
Member Avatar for msk88

Hi.. i want to execute a program(done using c++)when my computer is about to shutdown.i am using Windows Xp. how can it done??

Software Development c++
Member Avatar for prushik
0
146
Member Avatar for vileoxidation

Hello everyone, and thank you in advance for any help you can give! I am working on a simple program with some long integers, which I have defined as type long long, with LLU after them. I am trying to use these variable names in an arithmetic expression, but when …

Software Development c++
Member Avatar for vileoxidation
0
88
Member Avatar for rbracco

I have a server with access to 9 different IP addresses that I want to use for different purposes and I wish to keep them separated. I am going to be doing my work using UrlLib2, is there a way I can specify which IP address I am using through …

Software Development python web-server
Member Avatar for BearofNH
0
110
Member Avatar for pikkas

i have these 2 sql for creating 2 tables in my database, what i have to write to show that is one to many relationsip? [one supplier to many order status] CREATE TABLE Suppliers( SupplierID nVarChar(10) NOT NULL CONSTRAINT Suppliers_PK PRIMARY KEY, CompanyName nvarchar(40) NOT NULL, Description nvarchar(100) NULL, SortOrder …

Software Development sql vb.net
Member Avatar for Jx_Man
0
108
Member Avatar for HLA91

Hi I recently made the "create yor first project" web browser that came with vb express 2005. I added a status strip with the progress bar but the bar doesn't seem to be linked to the page it doesn't have green lines when you are connecting to a page, what …

Software Development visual-basic web-browser
Member Avatar for mmangai
0
109
Member Avatar for wollacott

ok this is my code so far i have to use " isprime" to calculate prime number how do i do thatand where do i put it.thank you [CODE] #include<stdio.h> main() { static int n=0, number=1; // static: so value is not lost int fibi (int n, int number); printf …

Software Development c
Member Avatar for wollacott
0
209
Member Avatar for MMill2373

I am having alot of trouble with coming up with a pseudocode and drawing a hierarchy chart for the following problem. If anyone could give me any pointers on what to do that would be great. Thank you !!!! [B] Develop the logic for a program that gives you the …

Software Development c++
Member Avatar for MMill2373
0
142
Member Avatar for Carlo Gambino

I am trying to manipulate user input strings using the ord() funtion. This effectively allows me to identify the decimal value of each character in the string. I have been able to return the value of the characters, but what I need to understand is how to store each value …

Software Development python
Member Avatar for Carlo Gambino
0
153
Member Avatar for prajwala

Hi, I am using Microsoft access and started developing a software for the admission of the college(10+2+3). but my problem is that i have done newuser creation, Change password coding but i am not getting an idea for forgot password. I have searched little bit on Internet but no luck …

Software Development microsoft-access visual-basic
Member Avatar for debasisdas
0
70
Member Avatar for evios

hi everyone, i'd been creating a tic tac toe game using VB 6.0 and it is working perfectly. And now i have to create a form which allow user to only uses keyboard to control the position of their choices instead of using click() command by mouse. Any method to …

Software Development visual-basic
Member Avatar for debasisdas
0
99
Member Avatar for p_conk

I have two header file Fibonaci.h, Fibonaci_Iterator.h, u can look below [U][B]Fibonaci.h[/B][/U] [code=c++] #ifndef __fibonaci__ #define __fibonaci__ #include "stdafx.h" #include "Fibonaci_Iterator.h" using namespace std; class Fibonaci { public: //typedef Fibonaci_Iterator iterator; Fibonaci_Iterator begin(); --> [B]syntax error missing ; before begin[/B] Fibonaci_Iterator end(); Fibonaci( const int& ); Fibonaci( const int&, const …

Software Development c++
Member Avatar for Ancient Dragon
0
102
Member Avatar for StepIre

Hey guys, sorry for this, what im sure is simple, but i just cant get it! i have a dictionary for restaurants.. then i have nested dictionaries holding information like when these restaurants open and close. [CODE] Restaurants = { 'Italian' : {"OpenTime" : "11:30", "CloseTime" : "20:30"}, 'Mexican' : …

Software Development python
Member Avatar for StepIre
0
115
Member Avatar for arby11886

The class should also have a function named compareTo which compares the Employee object to an Employee object passed to it and returns 0 if they are equal, <0 if the current object is less than the passed object, and >0 if the current object is greater than the passed …

Software Development c++
Member Avatar for mitrmkar
0
182
Member Avatar for komal.Sam

Program to reverse a vector without using a temporery variable.

Software Development c++
Member Avatar for mitrmkar
0
60
Member Avatar for Phlip

I'm sort of a beginner at coding and C++ but I have successfully created a few small programs. Now my problem is that if I send my friend the program I just wrote (using Microsoft Visual C++ compiler) they can't open it. They are using XP like me but it …

Software Development c++
Member Avatar for Nick Evan
0
152
Member Avatar for afarr

I want to fill a matrix randomly with True and False. The code below does produce a matrix where the proportion of True is roughly p, but all the Trues are at the beginning, and all the False at the end (so it looks like it generates the same random …

Software Development pascal
Member Avatar for MarioV
0
746
Member Avatar for larryperl

[CODE]Programname=$(basename $0) # While scheduling to cron, program name is needed. Usage="Usage: $Programname [-a mtDelete/mtBackup] [-l/-L Backuplocation] [-t now/cron/hh:mm]" IsCronJob=1 # default, script will run at now. isBackUp=0 # default, it will take back up. lFlag=0 # it is optional. default value is zero LFlag=0 # it is optional. dfault …

Software Development shell-scripting
Member Avatar for eggi
0
103
Member Avatar for chris5126

hi guys, Im in the process of writing a unix mointoring program that will monitor differenet servers all runnning solaris . I am creating a main screen with summary warnings for high cpu usage, low disk space, meta device faults, high network collisions etc. All has gone well but now …

Software Development display shell-scripting unix
Member Avatar for eggi
0
159
Member Avatar for cknapp

I'm working on an implementation of Conway's Game of Life as a way to learn Scheme, and I'm having trouble with the updater. I keep getting the message "The object () is not applicable" when I try to use the following. I could be missing something simple, and any advice …

Software Development
Member Avatar for cknapp
0
198
Member Avatar for hawisme000

i have a problem making the code for this logic i have 5textbox ,1 label and a command button on a form and need to do this: [QUOTE]if the value of the 1st textbox is greater than the 2nd,3rd,4th,5th then label1.caption = to the value of the 1st text box …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
93
Member Avatar for php.mca

Hi All, I am very much new to python.I need an application to generate password protected pdf. Can anyone help me out? Thanx in advance Dushyant Joshi

Software Development pdf python
Member Avatar for php.mca
0
78
Member Avatar for Raziuddin

Hi all, Am a fresher with logj4 and trying to configure my properties file. My question is that how can i log differrent priorities of messages to different files using categories and appenders. help would me greatly appreciated. This is my properties file. I ma not able to get the …

Software Development apache java
Member Avatar for Raziuddin
0
224
Member Avatar for Jiko980

Hey there everyone! I found this site because I was looking for some help with my c++ course. I am trying to figure out how to make a program that can read in data from a .txt and then replace every 7th word with an underscore. It must print out …

Software Development c++
Member Avatar for Jiko980
0
134
Member Avatar for btech_Saurabh

Hi Developers .....I am facing a problem of adding an Image to CommandBarButton ( i m using the VSTO). Can any body help me out....... Every Reply will be Welcome.....

Software Development image
Member Avatar for btech_Saurabh
0
110
Member Avatar for siri_chow25

wat is the difference between c and c++?

Software Development c c# c++
Member Avatar for Dave Sinkula
0
73
Member Avatar for jigvesh

Well, I did go through the site mentioned in one of the earlier queries, but still i am not able to solve it........ I want an image to be displayed instead of the mouse cursor when it is over a panel.........which in the code is mainPane...........i think i am making …

Software Development image java
Member Avatar for sanjrockz
0
437
Member Avatar for sasidharnet

This is sasidhar. I am getting problem with JNDI. please help to solve this problem. This is the program I used to work on JNDI. I am using weblogic 10.0 [CODE] import javax.naming.*; import java.rmi.*; import java.util.*; public class UseJndi{ public static void main(String args[]){ try{ Hashtable h = new …

Software Development java
0
109
Member Avatar for Techboy1523

Ok I have to print two charts: one showing kilometers per hour converted to miles per hour and the second showing degrees Celsius converted to degrees Fahrenheit. The speed conversion table should list speeds from 50 to 130 kilometers in increments of 5. (50, 55, 60 …) The temperature conversion …

Software Development c++
Member Avatar for Techboy1523
0
649
Member Avatar for tiger86

Okay I want to build a program but I do not want the program to be copyrighted by Microsoft or any other companies. If I use one of their programs then I assume they have control over it and how it is distributed. I read that no one owns c++ …

Software Development c++
Member Avatar for tiger86
0
91
Member Avatar for KimJack

Hello All, I used a for loop to create a set of radio buttons. For example: for($i = 1; $i < 4; $i++) { print '<INPUT TYPE="radio" NAME="first" VALUE=$i >', " $i|"; } My question is how do I display which radio button was chosen if all of them have …

Software Development perl
Member Avatar for KevinADC
0
234
Member Avatar for aus_fas1

Hi I want to increment file number with date e.g 19-FEB-09-1.dat, 19-FEB-09-2.dat .... So in the write function after it runs for certain number of times say 12 the file number then increments to next one. However, if the file number already exists it then move to next number to …

Software Development c++ ios
Member Avatar for aus_fas1
0
124
Member Avatar for hallinan

Keep getting an error 'syntax before struct_acc' but cant see where can YOU?! (it's like finding woldo to me) [CODE] void print_customer_statement(char customer[]) { int choice; struct_acc Acc[SIZE]; FILE *file_ptr; int i=0; file_ptr = fopen(customer, "rb"); if (file_ptr == NULL) { printf("Error in Opening files... Program End\n"); exit(1); } while(!feof(file_ptr)) …

Software Development c
Member Avatar for hallinan
0
92
Member Avatar for toadzky

Just for fun, I want to write myself an app to read metadata from media files and optionally rename them. The renaming part isn't all that hard, but I don't know how to get the metadata from an AVI or MPG file. Any ideas?

Software Development
Member Avatar for toadzky
0
97
Member Avatar for alejalv

hi, i was given this project to do in my java class but i dont exactly know what i have to do.... i understand that i need to create 2 classes, point that extends pair and labeledpoint that extends point.... but i have no idea what else the professor wants …

Software Development java pdf
Member Avatar for VernonDozier
0
178
Member Avatar for SCBWV

Anyone experience problems with a disappearing control focus rectangle when using an XP style manifest? Some check boxes and option boxes no longer show the focus rectangle when the control gets focus using the kayboard and the tab key. Some do, some don't. Rather strange. I've tried putting them in …

Software Development visual-basic
Member Avatar for cindy amaral
0
129
Member Avatar for cosmos22

Hello, I was wondering whether anyone knows the code for rotating the screen by a few degrees. By that I mean flip the screen on its side or invert it? Also, what declarations would I need to make if possible? Thank you, I require this information for my own personal …

Software Development c++
Member Avatar for mitrmkar
0
76
Member Avatar for trihaitran

Hi, I've got about 10 functions that all share a bit of code. They all look something like this: [code=python] def func(arg): statement1 statement2 statement3 unique code statement4 statement5 [/code] Each function does similar statements at the beginning and end, but has unique stuff in the middle. Is there a …

Software Development python
Member Avatar for G-Do
0
119
Member Avatar for cbattagler

Hello, for some reason the code I am trying to write throws an exception about using a priviledged instruction. Problem is it is just comparing two values and throwing this out there at me. Maybe I am completely missing something. Oh and I know its pretty ugly code, you don't …

Software Development c++
Member Avatar for cbattagler
0
161
Member Avatar for icecold25

I'm working on a program to convert a set of values to an average and I keep getting an exception error. Seems to be an easy fix but I can't put my finger on it. Any suggestions? [code=C#] private void button1_Click(object sender, EventArgs e) { int sum = 0; int …

Software Development
Member Avatar for icecold25
0
345
Member Avatar for trihaitran

Hi, My problem is that I have a large function with hundreds of lines. I want to break it apart into smaller functions. The issue is that if I make a module level function, the scope changes and I have to pass the necessary variables to it. This can be …

Software Development python
Member Avatar for woooee
0
100
Member Avatar for dophine

I have a question related to function. fun(const int);<-- pass a const int const int fun(int);<--return a const int but what is "fun(int) const"?

Software Development c++
Member Avatar for Dave Sinkula
0
101

The End.