132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for peter_budo

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
Member Avatar for peter_budo
0
143
Member Avatar for Forsal

Hi everybody Can you please explain me the weakpoints of c++ language? I think it is very difficult to create GUI in C++, isn't it? I also would like to know is there any method to combine C++ program and Java Program.

Software Development c c# c++ gui java
Member Avatar for Ancient Dragon
0
236
Member Avatar for gatormike53

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
Member Avatar for ranj@chn
0
157
Member Avatar for Roc

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++
Member Avatar for Roc
0
5K
Member Avatar for LEGACYONE_2006

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
Member Avatar for LEGACYONE_2006
0
116
Member Avatar for Acidburn

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 …

Software Development c google
Member Avatar for Ancient Dragon
0
139
Member Avatar for wanda

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
Member Avatar for wanda
0
154
Member Avatar for javamum

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++
Member Avatar for Dani
0
605
Member Avatar for mixsir

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++
Member Avatar for siu05rr
0
161
Member Avatar for degamer106

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
Member Avatar for Lerner
0
332
Member Avatar for swapnamishra

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
Member Avatar for bumsfeld
0
151
Member Avatar for gatormike53

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
Member Avatar for ranj@chn
0
339
Member Avatar for sargorath

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 …

Software Development c c# c++
Member Avatar for dude543
0
157
Member Avatar for KimJack

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
Member Avatar for MIGSoft
0
356
Member Avatar for axiss

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++
Member Avatar for Ancient Dragon
0
240
Member Avatar for Acidburn

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
Member Avatar for Ancient Dragon
0
99
Member Avatar for Phaelax

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 …

Software Development google ide java
Member Avatar for server_crash
0
208
Member Avatar for smart girl

[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
Member Avatar for smart girl
0
120
Member Avatar for problems

[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
Member Avatar for ranj@chn
0
89
Member Avatar for butterflyTee

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
Member Avatar for bucodi
0
2K
Member Avatar for avalloc

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
Member Avatar for avalloc
0
86
Member Avatar for some one

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
Member Avatar for Bench
0
267
Member Avatar for Viji

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. …

Software Development ide vb.net
Member Avatar for Bharati Krishna
0
149
Member Avatar for bhupendra

Hi all, How to create a model less dialog box using python 2.3 tkinter? Thanks in advance, Bhupendra

Software Development python tkinter
Member Avatar for bhupendra
0
178
Member Avatar for cindy_16051988

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 …

Software Development c++ session
Member Avatar for cindy_16051988
0
2K
Member Avatar for rockwell

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
Member Avatar for kamitsin
0
214
Member Avatar for crizzio

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
Member Avatar for Dave Sinkula
0
200
Member Avatar for qljolly

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++
Member Avatar for Ancient Dragon
0
445
Member Avatar for riscphree

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 …

Software Development algorithm c++
Member Avatar for riscphree
0
335
Member Avatar for avalloc

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++
Member Avatar for Ancient Dragon
0
126
Member Avatar for peter_budo

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
Member Avatar for Phaelax
0
196
Member Avatar for mani84

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#
0
153
Member Avatar for qljolly

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++
Member Avatar for Rashakil Fol
0
164
Member Avatar for elidio

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
Member Avatar for elidio
0
473
Member Avatar for Blujacker

How can i do full screen? How can i get size of monitor? Is that possible? Thanks

Software Development python
Member Avatar for bumsfeld
0
114
Member Avatar for tgreer

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 …

Software Development image xml
Member Avatar for _r0ckbaer
0
208
Member Avatar for qgirl

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++
Member Avatar for Lerner
0
138
Member Avatar for rabidpanda

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
Member Avatar for rabidpanda
0
188
Member Avatar for regbrz

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
0
311
Member Avatar for Sona

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
Member Avatar for Sona
0
104
Member Avatar for bondito

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
Member Avatar for server_crash
0
171
Member Avatar for Vedavyas

How to load an image (say a JPG file into Turbo C or C++)? If can't can it be done only in VC++? :-|

Software Development c++ image
Member Avatar for Vathanak
0
824
Member Avatar for vader

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
Member Avatar for KevinADC
0
246
Member Avatar for robertlees

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
Member Avatar for robertlees
0
265
Member Avatar for stallion88

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 …

Member Avatar for Rashakil Fol
0
553
Member Avatar for DotNetUser

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
Member Avatar for Ancient Dragon
0
134
Member Avatar for tydruk

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 …

Software Development c++ xml
Member Avatar for tydruk
0
525
Member Avatar for butterflyTee

# 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
Member Avatar for bumsfeld
0
130
Member Avatar for Stewie

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
Member Avatar for iamthwee
0
327
Member Avatar for Rass Saee

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
Member Avatar for Dave Sinkula
0
124

The End.