132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for CSharp-DG

Hi Guys... I'm a new memeber and need your help in coding C# Game. I've started coding in C# couple months ago and i have a project to submit next Wed (01/06/2005). I've been trying to working on the project for the last few days....but i couldnt code the project. …

Software Development c#
Member Avatar for Gargen
0
157
Member Avatar for kapow

I HAVE TO HAVE THIS DONE BY TODAY ---Here Goes---ALL HELP REALLY TRULY APPRECIATED I WILL PRAY FOR YOU ASWELL!! Produce a vb application that incorportates a class module that will hold two pieces of information about 6 company employees. the information is their new salary and a short description …

Software Development email vb.net
Member Avatar for npasma
0
168
Member Avatar for jazzyjoe

Hello I am new to C++, I have this program which i take an input file and i have to find the average and standard deviation of the numbers in the file. I have part of the program completed but i don't know where to go from there. can someone …

Software Development c++
Member Avatar for murschech
0
147
Member Avatar for mickyboy

hi all i wish to create a simple programe that does the following. to be able to calculate the circumferance of any given circle and divide by chosen degrees over 360 degrees. have tried simple programe by typing in the immediate window. giving a radius of 10 as follows,and using …

Software Development visual-basic
Member Avatar for mickyboy
0
135
Member Avatar for DotNetUser

txtULCol->Text == "" does not work for checking for a blank textbox in VC++ .NET. With or without text the code always return false. Any suggestions? Thanks.

Software Development c++
Member Avatar for alpha_foobar
0
158
Member Avatar for luisator

HI everybody! I am starting a visual basic application from java with the following routine: Runtime rt = Runtime.getRuntime(); try { Process p = rt.exec("Grabacion"); } catch (Exception e) { e.printStackTrace(); } I want to know if there is any method in java that can make this application "grabacion" stop …

Software Development java visual-basic
Member Avatar for server_crash
0
82
Member Avatar for africanhind

Hello, I’ve become a member here just about five minutes ago and honestly I can feel I’ll get a great help from you, and that what I hope. I’m on my final year in School of Math. Department Computer Sciences, And I’m really in need of a graduation project proposal. …

Software Development java
Member Avatar for server_crash
0
305
Member Avatar for luisator

I wanted to know what do I have to change in the SAxparseryFactory code to make it work in an windows xp OS. It is not working and I think I have to modify something of this code to make it work....please HELP ME!!!!

Software Development java windows-xp
Member Avatar for luisator
0
100
Member Avatar for Stanislaw

Is it possible to create a variable within a program (while its running). The problem I am trying to Solve: In school I created a cashmachine emulator. The thought then dawned on me, what If I wanted different user abilities within my cash machine program (Ie. only the manager would …

Software Development c++
Member Avatar for tonakai
0
372
Member Avatar for cymerman

I am doing this program that has a menu of 8 items The error is: --------------------Configuration: aaaaa - Win32 Debug-------------------- Compiling... aaaaa.cpp c:\temp\test\test1\aaaaa.cpp(125) : error C2374: 'x' : redefinition; multiple initialization c:\temp\test\test1\aaaaa.cpp(120) : see declaration of 'x' Error executing cl.exe. aaaaa.exe - 1 error(s), 0 warning(s) Does anyone know where …

Software Development c++
Member Avatar for cymerman
0
254
Member Avatar for BioTechNoob

Hi all, My first, but likely not my last post. I’m teaching myself C++ with basically no programming background. I’ve been using Borland, reading books (such as teach yourself in 21 days, etc.) and reading this website, but now I’ve run into a problem and after three days of trying …

Software Development c++ file-system first-post
Member Avatar for zyruz
0
132
Member Avatar for JoBe

Hello ladies and gents, Came across a program example in wich you are able to sort program-parameters in alphabetical order. The code is this:[code] #include <iostream> #include <string> using namespace std; void sort2(char* &p, char* &q) { if(strcmp(p, q)> 0) { char *h; h = p; p = q; q …

Software Development c++
Member Avatar for JoBe
0
370
Member Avatar for Kerbrose

Here is one for you I am able to password protect an Access database. I have even been able to password protect forms and reports but I seem to be having a problem password protecting Access sub switchboard forms. I am setting up a database and I want to password …

Software Development visual-basic
Member Avatar for Kerbrose
0
189
Member Avatar for shre86

i am writing a program.. in that i am needed to represent an array using pointers only..(its a constraint i ve to work with).. the prob i am facing can be shown by this small program.. pls help me rectify with [code]#include <stdio.h> #include <conio.h> void main() { char a[4],*b; …

Software Development c
Member Avatar for Narue
0
191
Member Avatar for Java John needs

Hey to everyone out there. I am new to this and seeking assistance with a java program assignment. if anyone can help let me know. The program is completed all I have left is to produce accurate output of a students grade. Here is the code: The code is supposed …

Software Development java java-swing
Member Avatar for server_crash
0
308
Member Avatar for jakejacobson

[COLOR=Blue]I have the following code to initilize struct booknode in a link list.[/COLOR] [code] // Here is how I defined booknode typedef struct booknode { char *title; // char[], holds book title char *author; // char[], holds book author char *isbn; // char[], holds book isbn float price; // float, …

Software Development c++ data-structure display
Member Avatar for Rashakil Fol
0
342
Member Avatar for scb10

i have this string SD125,SD478-SD478 SD147 i need to separate,but i need to know which delimeter i use becouse i did this StringTokenizer sd = new StringTokenizer(fileStringSD, ", -"); while (sd.hasMoreTokens()) { String cad = sd.nextToken(); system.out.printl (cad); } it separetes and i get SD125 SD478 SDSD147 THE TROUBLE COMES …

Software Development java
Member Avatar for scb10
0
118
Member Avatar for ultimate_fusion

I have two classes. block and main public Block(Stage stage) { super(stage); //fill array where[t][s]=i; i++; system.out.println(where[t][s]); } and the main. the problem is I create an instance of the class block and I know it runs because I put a system.out there and the I a list of printed …

Software Development java
Member Avatar for ultimate_fusion
0
150
Member Avatar for raybristol

I can load a image file from a fold if I did like this: Bitmap myBitmap3 = new Bitmap(@"C:\HEapp\images\logo.bmp"); however, this is not convenient if I move my program, so I was try to do this: Bitmap myBitmap3 = new Bitmap(@"\images\logo.bmp"); however, it doesn't work, could anyone tell me how …

Software Development image
Member Avatar for r0ckbaer
0
218
Member Avatar for mina1984

Hi, im lost and i need help writing a function gcd that returns the greatest common divisor of two integers and has to allow five sets of numbers to be input by the user. this is what i have so far where i put /* is where i need help …

Software Development c++
Member Avatar for mina1984
0
392
Member Avatar for gmrod

[B]To the following program I need to:[/B] Homework 2.b /* crypto.c. Program that encrypts a letter by shifting the value by k*/ #include <stdio.h> #define BASE 65 #define RANGE 26 main() { char originalLetter; char encryptedLetter; int k; printf("Input a Capital letter:\n"); scanf("%c", &originalLetter); printf("Input an integer that is less …

Software Development c
Member Avatar for Narue
0
504
Member Avatar for M Tritt

I'm building a tic tac toe game with a variable board size using class GameBoard and class GamePiece. The GamePieces have a char array, pName, for the player's name and a char pType for the piece (X or O). the board is set up using a pointer to an array …

Software Development c++ os-x
Member Avatar for Narue
0
274
Member Avatar for somer2412

Can someone please help? My assignment is to display a chart using loops, not allowed to hard code any numeric values below the headings. The user is given three options if someone could help me get started with the first chart, I can get the rest. I have included my …

Software Development c++ display
Member Avatar for zyruz
0
141
Member Avatar for marion sterling

:rolleyes: Good Day all. I am new to This forum and VB Programming. I am trying to set up a database for use with my hobbies. Perfin collecting (stamps). I want just the perfin pattern stored in the database, so i can do searches by cat number OR the perfin …

Software Development visual-basic
Member Avatar for marion sterling
0
205
Member Avatar for cpp noob

i have jut started learning cpp need help : is their any way i can make a char statement conatining spaces too. if yes plz tell me. :rolleyes:

Software Development c++
Member Avatar for cpp noob
0
306
Member Avatar for mina1984

hi im kind of confused about how to change a for loop into a while loop and how to change a recursive into a for loop and for loop into a recursive, i read books and searched online but it all seems confusing could somebody please simplify it for me? …

Software Development c
Member Avatar for Rashakil Fol
0
205
Member Avatar for djbsabkcb

Below is my code for a class car efficiency program but I have some errors with the get_gas function. if you can help would appreciate it. [code] #include <iostream> #include <cmath> #include <cstdlib> using namespace std; class Car { public: Car(); Car(double); ~Car(); void add_gas(double); double get_gas(double); void drive(double); private: …

Software Development c c# c++
Member Avatar for djbsabkcb
0
169
Member Avatar for bandm

Hello All, I posted this over in the Software Forum, but I realized that maybe it belongs over here. I have both VS 6.0 and VS .Net 2003 available to me. I am just starting to learn programming and wanted to know the difference and which one would be the …

Software Development asp.net c++ visual-studio
Member Avatar for Narue
0
207
Member Avatar for shanenin

I am slowly absorbing these python class concepts(kinda) this fails with an error [php] class Critter(object): def __init__(self): print "I am born" def talk(self,name): self.test = name print self.test crit = Critter('ralph') crit.talk()[/php] this one works [php] class Critter(object): def __init__(self,name): print "I am born" self.test = name print self.test …

Software Development python
Member Avatar for vegaseat
0
213
Member Avatar for Lalo1985

Hi, I do a lot of VB programming on my own, and have gotten pretty decent at it. From time to time, a couple of people have asked me how much I would charge them for a specific program. Has anyone done this before, where they take "jobs" on their …

Software Development visual-basic
Member Avatar for Lalo1985
0
148
Member Avatar for Phat !

Hi, I need some help on a school project regarding visual basic. mind giving me some ideas on what mini project we can do ? Actually i got a ideas of making a pop3 portal because my school pop3 cilent looks sucky so our group intend to revamp them Cheers …

Software Development visual-basic
Member Avatar for Comatose
0
144
Member Avatar for JEt3L

Hiya everyone. Just thought that maybe someone could help me out on this one. I'm making a client on perl using IO::Socket and it works for most of my apps. But i came upon a bit of a challenge here. Everything works fine. I'm sending the login packet to YCHT …

Software Development client-server encryption first-post perl
Member Avatar for JEt3L
0
253
Member Avatar for stupidenator

Hey all, Does anyone know if it is possible to send email through a java applet? Thanks in advance. Nick

Software Development email java
Member Avatar for stupidenator
0
145
Member Avatar for 001

Hello, I am newbie in perl. I am currently working on a project to access the parallel port of a pc in perl on a linux operating system. I really do not know where to start. Could anyone help me with useful links, books, resources..etc that could be of explicit …

Software Development operating-system perl
Member Avatar for 001
0
192
Member Avatar for cpp noob

this program contains everything even leap year: :idea: i am a beginner in cpp (we have this in school so i am learning this age 15 ) [code]# include<iostream.h> # include<conio.h> void main (void) { clrscr(); int years1, months1, days1; int monthdays1[12] = {31, 59, 90, 120, 151, 181, 212, …

Software Development c++
Member Avatar for cpp noob
0
139
Member Avatar for M Tritt

Can anyone lead me in the right direction to get this to work??? my << overload compiles fine... ofstream& operator<<(ofstream& ofs, const GameBoard& b) //overloaded ofstream operator to save board & piece { for (int row=0; row < b.size; row++) { for (int col; col < b.size; col++) { ofs …

Software Development c++
Member Avatar for M Tritt
0
131
Member Avatar for sparkette

Hey guys. I was told to do an assignment, to demonstrate how a high priority thread gives a low priority thread a chance to run using the sleep function. The assignment has already been submitted and already graded. The following code when compiled not only creates a ThreadSleep.class file, but …

Software Development display java java-swing
Member Avatar for sparkette
0
109
Member Avatar for nephish

Hey there all, i have a question about how to point my python install to my sql database. when i enter this:[CODE] db = MySQLdb.connect(user="user", passwd="pass", db="myDB")[/CODE] i get this: [CODE]Traceback (most recent call last): File "<pyshell#1>", line 1, in -toplevel- db = MySQLdb.connect(user="user", passwd="pass", db="MyDB") File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line 66, …

Software Development mysql python sql
Member Avatar for nephish
0
151
Member Avatar for hisrichness

Hey, I have to write a Java program that implements a sorted linked list to be able to count the number of chars and words in an input file. would any1 be able to help me please? Thanks

Software Development java linked-list
Member Avatar for jwenting
0
122
Member Avatar for razibcse

Hi, I have a project on peer-to-peer file transferring...Now I don't have any clue how I can use just the IP address of a computer to search for files in different drives...I have used socket object to create clients...now I have the info of only IP address and port number …

Software Development hard-drive java peer-to-peer
Member Avatar for jwenting
0
96
Member Avatar for rkarimi

Hi, Assume that we want to define a set of template function separately & then use them in other files, by calling their header. 1. Shoud we put function body (both define & declare) in header file as well. My current code works this way. But when I put those …

Software Development c
Member Avatar for rkarimi
0
150
Member Avatar for mike1980

Tryin to get the "Division by zero not allowed" part working ca someone help please :cry: [PHP] import java.awt.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.applet.Applet; public class JDivideMe extends Applet { private TextField numeratorField = new TextField( 10 ); private TextField denominatorField = new TextField( 10 ); private Label theAnswer …

Software Development java
Member Avatar for mike1980
0
223
Member Avatar for shahid

Write a C++ program that has class 1) math Math class has only one data member number and member function display that will display the data member number. Write the constructor of your math class that will initialize the data member number with the value zero. Program will overload the …

Software Development c++ display
Member Avatar for alc6379
0
151
Member Avatar for Naseer

Use the CPU trace generator to generate jobs (or process) traces and simulate the following algorithms 1. Shortest remaining time next (aka Shortest Job First with pre-emption, aka SJF, shortest next burst time). 2. Round-Robin with user set-able time quantum (the time quantum should be a userset-able command line parameter. …

Software Development algorithm c
Member Avatar for alc6379
0
215
Member Avatar for williamrojas78

Hi I have a problem when filtering this acces database, this is what i have found so far: 1. when i do it with one criteria it works 2. when i concatenate two clauses with direct values it works 3. but when i assign a variable instead of direct values …

Software Development visual-basic
Member Avatar for williamrojas78
0
231
Member Avatar for murschech

Attached is a tiny program in which the function F has as an argument the function pointer double (*f) (double). F returns the sum f(1)+f(2)+f(3)+f(4). (Naturally, I have a much more interesting application in mind, but this simple example makes the point.) What I really want to do is replace …

Software Development c++
Member Avatar for Dave Sinkula
0
218
Member Avatar for yaan

I've used linked lists before. Does anybody have a resource or url address on how to write a linked stack? I need to create a stack with a menu using int and char variables. Thanks.

Software Development c
Member Avatar for shre86
0
153
Member Avatar for Rete

I was wondering if there was any way to make a for loop go through a string word by word, rather then character by character. For example, [B]for letter in "Hello world"[/B] [B]print letter[/B] it would print out H e l l o etc. I was wondering if I could …

Software Development python
Member Avatar for Rete
0
164
Member Avatar for JoBe

Hello ladies and gents, Ive been reading about how when a class becomes to big due to to many memberfunctions, it is best to split the program up into several sections wich could be something like this: Interface section Implemenation section Application section I was given an example wich is …

Software Development c++ microsoft visual-studio
Member Avatar for JoBe
0
495
Member Avatar for MightyAC

I have a VB app that uses the ITC control to download a files from an FTP site. It works fine on Windows 2000 but it will not connect to the FTP site on an XP machine. It most likely has something to do with the SP2 firewall but I …

Software Development visual-basic
Member Avatar for MightyAC
0
86

The End.