132,726 Archived Topics
Remove Filter ![]() | |
I have already working client-server messenger which is using threads. I can easily do plaintext username and password but I wish to use encryption on password. How can this be done? Software Development client-server encryption java | |
May be in wrong forum but I did work out the lookup problem, what I am still having problems with is making sure the lookup can find the address book file regardless of the current working directory. I believe I need to do this with $PATH but am unclear on … Software Development shell-scripting | |
Hi,everyone I have to write a calculator which can + , - , * , / , + = ,- = , * = , /= ,++,-- do this operations with operator overloading [code]#include<iostream> using namespace std; class complexNumber { private: double realPart; double imaginaryPart; public: complexNumber(){realPart=0.0; imaginaryPart=0.0;} ~complexNumber(){cout<<"Destructor do … Software Development c++ | |
I am trying to get this program to return the index value of the number that is input by the user. It is currently returning whatever number the user inputs. [code] import java.lang.Math; import java.util.Scanner; class Arrays { public static void main (String [] args) { int A[]= {3, 1, … Software Development java | |
Hello guys I've got a general question about a Button on a form... ' <<Backward' the function for this button is to go through the CList and display the contenets at that position in the screen. Anyway at the minute ive got a message box saying ' Reached beginning of … | |
I need help writing pacman with NGP for a school lab. I just started with java. I am NOT trying to have the project written for me, just need help getting started. There are two classes and an interface we need to use listed on the site below. The game … Software Development first-post java | |
I am trying to write a C++ program that finds the root of the following function: `x{(1 + [(k*n)/(1 + k*x)]} - L` using newton's method and this is the code I have and I cannot figure out what is going wrong, no matter how many iterations I put in, … Software Development c++ | |
Dear All members. I'm a very freshy member and just register today. Programming is very new for me. Please advice how to how to put the random integer between 1-100 into the 2 dimensions array (5x5 metrix). What me just know the function rand() can be used to generate a … Software Development c++ | |
This problem is asking me to convert an infix expression to a postfix expression using recursion. I did the exact same problem using stacks (w/o recursion), which was much easier, but on this one, I get stumped constantly when I try to come up with a line of code to … Software Development c | |
Hi, I have a file named demo.py.The contents of the file are: [code] class a: name="swapna" def show(self): print a.name s=a() s.show() [/code] When I execute the file it gives me the following error: "<bound method a.show of <__main__.a instance at 0x009D58C8>>" Kindly advice on how to proceed with it. Software Development python | |
New to Linux and need the credit for my class to ensure a good grade but not sure on the cmd line to finish I have created a data file called ".addr_book" in home directory plus a 'bin" directory . NOW this is what I am unsure of I need … Software Development shell-scripting | |
Hi, Can anyone help with a project I'm working on I'm new to classes and I got really confused while trying to convert a simple console application in to a class file. I would appreciate some help if anyone willing to. Following is the code I am trying to convert … | |
Hello all, I am wondering if anyone has any or know where I can get examples of source code using linked list implementation of stacks. It needs to use a class that stores ints that can be retrieved. Anything you all can provide would be great!!!:-| Software Development c linked-list | |
Hi I was just wondering how you change the text colour of only some of the text in a console when you are using cout to display your text. I tried using [CODE]system("Color XY");[/CODE] obviously where X and Y are hex numbers and X sets the background color and Y … Software Development c++ | |
How can i display a dialog window with adding a class to it and using the following to invoke it: CClasX dlg(this); dlg.DoModal(); I know you can do it without a class but im not sure how. And second why would you want to invoke a dialog without a class … Software Development c | |
I'm using a JEditorPane and StyledDocument, which automatically wraps text to the window. I cannot have this, I need the window to allow horizontal scrolling of the text. I've been all over yahoo and google and cannot find an answer on how to disable word wrapping. And before anyone tells … | |
[COLOR=#000000]hi all I am trying to be much familier with pipes I tried to write a c program that generates the following output [B]from child: I want to print this line twice [/B] [B]from parent: I want to print this line twice [/B] what I get is [B]from child: I … Software Development c | |
[COLOR=black]i would like to find files that have been modified during a month. lets say i am type in 2004 06 it will find files in the month of june. i know using l -la lista all the files and thier attrbutes. and one of thier attributtes is last modified … Software Development shell-scripting | |
THIS WINDCHILL TABLE PROGRAM IS RUNNING, BUT THE NUMBERS IS STILL NOT LINING UP STRAIGHT..WHY, CAN YOU PLEASE HELP ME..THANKS HERE IS THE PROGRAM BEFORE I RUN IT.. [CODE]def windchill( vel, temp): wc = 35.74 + .6215*temp - 35.75*(vel**.16) + .4275*temp*(vel**.16) return wc def main(): print (" __ __ __ … Software Development python | |
I am having problems with a program I am writing. Write a program to read 2 integers. Then call a function to add them together and return the result. Display the result from the "main" program. How would I go on doing this? Software Development c | |
hi every1 i have this code which is delete a node in the graph but there is 5 errors and 1 warning I need u to help me with this errors [CODE]#include<iostream> using namespace std; template<class TYPE> struct Vertex; template<class TYPE> struct Arc; template<class TYPE> struct Vertex { Vertex<TYPE> *pNextVertex; … Software Development c++ first-post visual-studio | |
Hello everyone, One of my friend got the mini project in college.She is expected to do the project in VB.net. She want to be sure that what are all the software required. Is these software enough to learn the VB.net as a starter 1. Microsoft .NET Framework 1.1 Redistributable. 2. … | |
Hi all, How to create a model less dialog box using python 2.3 tkinter? Thanks in advance, Bhupendra | |
Hello, everybody. Sorry to disturb you all. Currently, I have a speech recording and playback software developed by Microsoft Visual C++ 6.0. The software is used to train children with speech problem and scores will be calculated and showed at the end of each practice session. The software is able … | |
Hi all, i am new to shell scripting and know very few basics, i have a shell script program written by some other guy and i am trying to understand it. I am unable to understand a few parts of the program, hope some one cud help me with this … Software Development shell-scripting | |
so basically, i think i have the basic idea written down but am not really understanding the errors i recieve like for example one of the errors were, "error: invalid conversion from `int' to `double*'" but ya...code if below....id appriciate the help, thanks [code]/** * CS-11 Asn 9 * gradebook.cpp … Software Development c++ file-stream | |
some one told me to repost this with code tags so here it is again I have been working on this for the past week and i am almost done but i dont know why my program keeps crashing at the end game check and also it doesnt realize that … Software Development c++ | |
In case anyone has this book, I'll mention it. I'm trying to complete Exercise 8-2 from Oreilly's Practical C++ Programming. The problem is to total the resistance of n resistors in parallel. The forumla for this is 1/R = 1/R1 + 1/R2+ ... 1/Rn For example, say you have one … | |
I am working on a C++ program where you enter 6 integers and then use an array to store them. It then asks you to enter another integer and then reports if the last one is in the array. I have been working on it a while and I can't … Software Development c++ | |
I'm trying to create a login for clients to server based on three way handshake. Client send his username in synchrinization to server, server acknowledge and send random encryption string to client with request for password, client encrypt password and send over to server. If password ok connection established. I'm … Software Development client-server encryption google java | |
I am trying to update two related tables, so I created the code below. However, when the program runs the information is not updated to the DB and a message saying update unsucessful appears. Please could you help me, what am I doing wrong? [code] private [COLOR=#000000] [/COLOR][COLOR=#0000ff]void[/COLOR][COLOR=#000000] saveToolStripButton_Click([/COLOR][COLOR=#0000ff]object[/COLOR][COLOR=#000000] sender, … Software Development c# | |
I have been working on this for the past week and i am almost done but i dont know why my program keeps crashing at the end game check and also it doesnt realize that there is a piece that interrupts the connect four if it were like XXXOX it … Software Development c++ | |
Hello, good afternoon. Im a newby user writing my first shell script, and i trying to make it run with the cron utility. If i run this code manually, the code was sucefull runned, but, when i put in this task in the crontab, the mail dont cant sended. When … Software Development email shell-scripting | |
How can i do full screen? How can i get size of monitor? Is that possible? Thanks Software Development python | |
Does anyone have a good example of how to use this method? All of the MSDN examples I could find are useless because: [LIST=1] [*]they show a hard-coded size for the byte array [*]they show writing the output to the Console[/LIST] Ridiculous. I have a file that contains some binary … | |
I am suppose to write a c++ program that show 1. shows the different breakfadt items offered 2. allow the customer to make more than one selection 3.allow the user to select multiple orders of a particular type 4. calculate and display the bill This is what i've got so … Software Development c++ | |
Well, I'm working on the hangman program. We were told to do it with three classes, a hangman class, an interface class and a tester class. I got the program working at school last night, but when I loaded it at home, it doesnt compile right. The hangman class will … Software Development java | |
Heloo! I found codigo well very interesting, but the same it considers that all the processes arrive in instant zero, as I can make to consider arrivals in aleaórios instants. [code]* Scheduling Simulation*/ #include <stdio.h> #include <stdlib.h> /* Process Data Structure */ struct process { int pid; /* Process ID … Software Development c data-structure | |
I have an input file coming, based on what is there in the starting from the third character (which is the table name starting from 3rd character in the first line).I have to set the parameter x. like If the table name='employee'(sarted from the third character) then x=1 if table … Software Development shell-scripting | |
Hi Everyone, i am trying to use an encryption class to encrypt pasword characters, i have modified the encryption class correctly, but i am getting an unreachable statement error and a missing return statement error. Pls could any one tell me what the problem might be with the code. Thanks … Software Development encryption java | |
How to load an image (say a JPG file into Turbo C or C++)? If can't can it be done only in VC++? :-| | |
Hi, I have a simple program that ask for a four digit number and then multple questions and writes the input to a text file, so I have a text file with multple lines of information and each line starts with a four digit number. I now want to check … Software Development perl | |
I would like to create a spell check facility. I have a huge flat file of words. This file has no cr/lf. How should I do this ? I think I want to read this file say 500 characters at a time. I'll store this data in a variable, adding … Software Development file-system visual-basic | |
The first three people to complete this program will be entered into the annual contest for Top Coder! The grand prize is the chance to become one of TopCoders independent programmer. This is a special opportunity to get paid for programing projects that you create. Below is the program to … Software Development c c# c++ data-structure first-post open-source programming-construct | |
I'm coding in VC++.NET 2003. I have a class that needs a log file to log info and errors for debugging. The problem I have is that FileStream and StreamWriter can not be global. I get compiler error C3145 : cannot declare a global or static managed type object or … Software Development c++ file-system | |
i have a xml document from which i must get the following things, [B]Riigi_nimi[/B], [B]pindala[/B] of it and [B]rahvaarv [/B] with the [B]riigi_nimi[/B] and [B]pindala[/B] i have no problems, but i can't get the program to print [B]rahvaarv[/B], i just can't find a way to copy it into a new … | |
# sum.py # tpm # A program that accepts an indeterminate (any number) of integers entered by # the user, calculates and their sum, using loop [CODE]from math import * def calc_sum(): n = input("Enter any number: ") sum = 0.0 for i in range(n): x = input("Enter a number … Software Development python | |
Hello, I am very new to java so my question might seem stupid :p anyway I am in a class where we are makeing a patron loading system for a library (every one else in the class is new to java also :) ) we have our basic form built … Software Development java java-swing ![]() | |
Does anybody know how member of function can be a pointer to a function. The following example crashes when I call the member that is pointing to a function. [code]#include <stdio.h> #include <stdlib.h> #include <string.h> #include <windows.h> typedef long fooPtr(char *); typedef struct { fooPtr *func; long cnt; } MyStruct; … Software Development c |
The End.