132,726 Archived Topics
Remove Filter ![]() | |
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 | |
/* 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 | |
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 | |
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 … Software Development java java-swing matrix-multiplication pay-per-click | |
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 | |
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 … | |
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 | |
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++ | |
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++ | |
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++ | |
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++ | |
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 | |
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 … | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
| |
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++ | |
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 | |
[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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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++ | |
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 | |
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 … | |
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 | |
![]() | 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++ ![]() |
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++ | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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++ |
The End.