132,728 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ~s.o.s~

Hello to alll programmers out there. Here i am trying to design a custom pascal triangle where the user can specify the TOP ELEMENT as well as both the CORNER elements. The problem i am facing is that the prog works well till the 3rd row but starts giving rubbish …

Software Development c pascal
Member Avatar for creeping death
0
726
Member Avatar for catsco

I wish to connect 2 computers together using a crossover Ethernet cable and then write a program in Visual Basic 6 to send data between them. How do I do this and are there any Vb examples? How do I know the address of the ethernet port to open?

Software Development visual-basic
Member Avatar for hkdani
0
197
Member Avatar for mentos12345

i need a program about loan approval or rejection .. but i really don't have any idea to do it .. can any 1 help me ? it need to get the user income.. get the user loan commitment.. get the user outstanding credit card.. it calculate how many years …

Software Development c++
Member Avatar for Lerner
0
255
Member Avatar for BigPappyJappy

I was wondering if someone could help me with modifying a program. I first must write a program that not only encrypts, but decrypts a message as well. This part I think I have figured out (although it is probabaly a little bloated) here it is: [code] #Cypher.py #A program …

Software Development encryption python
Member Avatar for BigPappyJappy
0
114
Member Avatar for Takafoo

Hey, Ive got a program I'm try to work on that the user enters the number and then it reports back if the number is prime or not. So far my calculations are completely off and I have no idea how to fix them or what they should be. Any …

Software Development c++
Member Avatar for vmanes
0
124
Member Avatar for arkaprava

Accorting to MySql manual and web site I modified the environment variable for installing JConnector for mysql as follows : CLASSPATH C:\Program Files\Java\mysql-connector-java-5.0.7\mysql-connector-java-5.0.7-bin.jar where my MySql connector Folder is placed on Java folder in program files (I put there willingly) But actually when I want to do any testing program …

Software Development java mysql
Member Avatar for peter_budo
0
164
Member Avatar for ITech

hi, i have a table with customer information(name, date of birth etc) i have created a windows form in c# and binded it with the database. the thing i want is retrieve the DOB from database and calculate the customers current age n display in a label in the form;; …

Software Development c c# c++
Member Avatar for ddanbe
0
106
Member Avatar for colmcy1

Hey all, I am having trouble with a program I am trying to write. Basicially I have a 2 sets of 9 "if statements". These if statements give me the parameters for 3 functions. The problem I am having is that the I am getting errors that are telling me …

Software Development c++
Member Avatar for Narue
0
138
Member Avatar for etc123

During a C++ script compilation, and doing exe building in AIX 5.3 using xlC compiler, I get the warning shown below: [CODE]ld: 0711-224 WARNING: Duplicate symbol: .NotNode::NotNode(BoolNode*) ld: 0711-224 WARNING: Duplicate symbol: .UnaryNode::UnaryNode(BoolNode*) ld: 0711-224 WARNING: Duplicate symbol: .OrNode::OrNode(BoolNode*,BoolNode*) ld: 0711-224 WARNING: Duplicate symbol: .BinaryNode::BinaryNode(BoolNode*,BoolNo de*) ld: 0711-224 WARNING: Duplicate …

Software Development c++
Member Avatar for mitrmkar
0
445
Member Avatar for lehe

Hi, I am goint to create a very large array but have this error when running this code [code] #include <iostream> #include <limits.h> #include <cstddef> #include <cmath> using namespace std; int main() { cout << UINT_MAX << " " << ULLONG_MAX << endl; cout << pow(pow(24,2),4) << endl; unsigned long …

Software Development c++ debian
Member Avatar for nucleon
0
189
Member Avatar for serkan sendur

do you know how it is useful to use dataset.begininit method? Thanks

Software Development dataset
Member Avatar for serkan sendur
0
435
Member Avatar for daviddoria

I've seen a few questions about this floating around here (mostly from me :) ) but I finally got this is into a nice working form - maybe it will be useful for someone. It is called like this: [code] void TestParallelSort() { vector<double> Numbers; Numbers.push_back(3.4); Numbers.push_back(4.5); Numbers.push_back(1.2); vector<string> Names; …

Software Development c++
0
230
Member Avatar for tillaart36

Hey there! I've written a program and outside of that program I want to make a new python program which generates lists (or in some cases maybe dictionaries) from certain directories and the files in them. I've puzzled around with the os.path(), os.chdir(), os.getcwd() functions, the glob.glob() function and I've …

Software Development os-x python
Member Avatar for Murtan
0
89
Member Avatar for brianknott844

I know what this code does but I don't know How it works if someone can explain to me how it works I would be glad const int Last_Number = 1000; int Primes = 0; Array Numbers = new Array(Last_Number, true); for (int i = 2; i < Last_Number; i++) …

Software Development
Member Avatar for ddanbe
0
111
Member Avatar for Traicey

I need to keep track of odd and even number which will be accepted from the user 10 time after the user entering them I have to print something like odd number = "The number of odd numbers from what she/he is inputed" and even numbers = "The number of …

Software Development c++
Member Avatar for Traicey
0
104
Member Avatar for kjetil4

Hi, i`ve made a simpel media player that can open and play mp3 tracks. And now i wanna try to make it open/create and save playlist. any hints on how to start?? Apreciate your time! =) the code for the player is here [url]http://www.daniweb.com/forums/thread177216.html[/url]

Software Development java
Member Avatar for kjetil4
0
633
Member Avatar for koolhoney07

hiiii frns... integer can hold only upto 8 bits...where as a string can hold more than 8 bits...so to compare them...is der any function??? like my code is like this for(int i=0;i<= stringgg("12345678901234567890"); i++)

Software Development java
Member Avatar for verruckt24
0
2K
Member Avatar for eugene83

I'm new to C++ and I'm having a hard time with classes the question is [COLOR="green"]int main(void) [COLOR="Green"]{ Point ary[5] = { Point(1, 2), Point(3, 4), Point(5, 6) }; Point sum; sum.SetXY(sum.GetSumX(ary, 5), sum.GetSumY(ary, 5)); sum.Print(); return 0; }[/COLOR][/COLOR] for this main function how do I make a Point class …

Software Development c++
Member Avatar for siddhant3s
0
94
Member Avatar for enitsirc

I need help on this: Write your own versions of String search methods indexOf and lastIndexOf. Hope you could help.thanks.

Software Development java
Member Avatar for stultuske
0
238
Member Avatar for Frani

i have been getting this error, <identifier> expected System.out.println("Enter the name of the lab this computer is located: \t"); room = scan.nextLine(); while (room.length() == 0) { System.out.println("Error: This field cannot be empty"); System.out.println("Enter the name of the lab this computer is located: \t"); } room = scan.nextLine(); } System.out.println("Enter …

Software Development java
Member Avatar for Frani
0
130
Member Avatar for Tuhin Chandra

#include<iostream.h> #include<string> class books { char author[20],title[100],publisher[30]; float price; int stock; public: void display(); void getdata(void) { char title[100],author[20]; cout<<"Name/Title of the Book--->"; cin>>title; cout<<"\n\nAuthor of the Book------->"; cin>>author; } void stock() { char choice='y',another; while(choice=='y') { cout<<"\nEnter the following into Stock....\n"; cout<<"\nAuthor-------->"; cin>>author; cout<<"\nTitle--------->"; cin>>title; cout<<"\nPrice--------->"; cin>>price; cout<<"\nPublisher----->"; cin>>publisher; …

Software Development c++
Member Avatar for MrSpigot
0
108
Member Avatar for phoenixlsk

hi i need some help. i have to do a linked list using XOR and i don't know how to do it. thanks

Software Development c++ linked-list
Member Avatar for manojthesingham
0
376
Member Avatar for enitsirc

I'm having difficulty in formulating the code in this problem:Use the string-comparison methods discussed and the techniques for sorting arrays developed to write an application that alphabetizes a list of strings. Allow the user to enter the strings in a text field. Display the results in a text area. I …

Software Development java
Member Avatar for verruckt24
0
82
Member Avatar for Tank50

HI I installed Visual Studio 2008,but I only installed C#.I want to create new database connection,so what I did is in Database connection->Add connection->select Data source But MS Sql server compact 3.5 and MS sql server database File are avaliable in here I cant find the sql native client,only MS …

Software Development client-server sql visual-studio
Member Avatar for Tank50
0
124
Member Avatar for jenilgandhi

plz help me to add two matrices using pointers..

Software Development c
Member Avatar for monkey_king
0
91
Member Avatar for iTsweetie

Hi all! I need a little help with a problem. I've been instructed to write a dice rolling program that uses rand to roll dice one and uses rand again to roll dice two. I'm then to record the values of the two faces in a two-dimensional array. The dice …

Software Development c++
Member Avatar for vmanes
0
137
Member Avatar for Dewey1040

I'm trying to complete a radix sort program, and i cant remember the algorithm to get the specific digit out of a number between 1 and 10000 heres the for loop which calls getdigit: [code=C] for( i = 0; i <= 4; i++ ){ printf("Pass %d: ", i ); for( …

Software Development algorithm c
Member Avatar for monkey_king
0
111
Member Avatar for Razza92

hello, im making a game, (multiplayer) and i would basicaly like an image (bullet) fly accross the scren on the vbkeyx command. however, i can not figure out how to do it. the bullet should move left accross my form but then i must have one to move right also …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
100
Member Avatar for Valkerion

Greetings from Greece. We got a Hangman assignment for my Class at Java. I m just a begginer.And the whole input/output thing is done either by console (system.out.println) or with JOptionPane. So here is my code [code] import javax.swing.JOptionPane; import java.util.*; public class Hangman { public static void main (String …

Member Avatar for blog_user
0
1K
Member Avatar for s1986

connect() system call fails while client tries to connect to a server givin duplicate name error.Can you please suggest me a way to remove this error? Also I would like to know can we check if a socket is closed or not? how to ensure that a socket is closed. …

Software Development c client-server
Member Avatar for monkey_king
0
102
Member Avatar for yuvaraj.tr

Hi I have doubt . Can we return the some data from boolean Function in C For Example [code=c] bool add( int a, int b) { int C; C = a + b; return C; } [/code] Is it possible in C

Software Development c
Member Avatar for monkey_king
0
130
Member Avatar for atiqjaved

I am trying to select data from a database in the based on a condition....Its just a simple select SQL query [CODE]SELECT playerid FROM player WHERE username = 'John'[/CODE] Therefore, from this I would like to store John's playerid to a variable and then use this variable. Below is my …

Software Development sql vb.net visual-basic
Member Avatar for dlplenin
0
151
Member Avatar for wonder_laptop

Dear all, to start with, im not asking for a code...im just too lost and need someone to guide me. can anybody help me think about implementing a hash table to store memory addresses and times for stores, and to look up matching addresses and times in the hash table …

Software Development c++
Member Avatar for wonder_laptop
0
87
Member Avatar for Silver Snail

I have created a simple HTML and Perl test to figure out how to properly get a browser to re-Post form data to a new URL. The raison d'etre for this test is to figure out the best way to re-Post the shopping cart order form data to PayPal after …

Software Development apache first-post perl unix
Member Avatar for Silver Snail
0
897
Member Avatar for hhhassan

Hi , I want to program an assembly program that can manage multiprograming . a code that can execute two sub programs together. I want the source code if it is possible. if not please mention about the interrupt. Please Please Help Me. I need it. Please. <SNIP>

Software Development assembly
Member Avatar for achadya
0
109
Member Avatar for cppStudent

Hi! I implemented a Binary search tree, which worked as desired. Then I had to create a new class which inherits from "BinarySearchTree" called "SplayTree". "SplayTree" has only one method called "contain" which overrides the inherited "contain". The new "contain" will return a boolean. If the object is found in …

Software Development java
Member Avatar for cppStudent
0
120
Member Avatar for death_oclock

My program is getting hung up somewhere in the function [ICODE]evolveRealization[/ICODE] and while it is stuck its memory usage is increasing by around 1MB per second! While it is building up generations, it was designed to only use the most recent one, and the old ones should be freed. So …

Software Development c
Member Avatar for Ancient Dragon
0
151
Member Avatar for danielle23

I am working on finished up a program using stacks. I am getting some funky errors when I attempt to rebuild&compile, so I am certain something in the code is not right. [B]Program Objective[/B]: Just to brief, I am using main and a .h file with classes. I am supposed …

Software Development assembly c c# c++
Member Avatar for danielle23
0
1K
Member Avatar for Talguy

I am trying to communicate with my vehicles OBD port using LibSerial. When ever i send a command to the vehicle it echos back a hexadecimal value but LibSerial returns this hexadecimal value back to me as a string, i.e. "0x01A". How would i convert this hex string into a …

Software Development c++
Member Avatar for ArkM
0
3K
Member Avatar for chadactive

I want to know if there are any good beginner books that cover everything about windows scripting. Please suggest.

Software Development shell-scripting
Member Avatar for siul0_0
0
73
Member Avatar for bharavn

I am new to Turbo C can anyone tell me how to create a project of muLtiple .c and .h files in Turbo C, and also how do you combine all the files at once?

Software Development c
Member Avatar for ArkM
0
114
Member Avatar for naseerus

Hi, I am working on creating application forms for our website and I face some difficulties. Here is the deal; I am using ASP:Wizard and I have 4 wizards for a form. Wizard 2 contains 3 similar tables each having details about the applicants 3 past addresses. For example; If …

Software Development asp.net vb.net
Member Avatar for naseerus
0
93
Member Avatar for soulreaver20500

Hi everyone, i am very very new to c++... i have just finished a c++ in 21 days course but still rather in awe of the expanse of how it works. I was wondering if anyone on here had any spare time to help me get used to using the …

Software Development c++ career
Member Avatar for Narue
0
148
Member Avatar for sid78669

I am trying to use the rand function to generate numbers from an array containing 3 ranges. This is unfortunately not working. I know I am doing something wrong, either with rand() or with my array declaration. Can someone please correct me: [CODE=perl] my @numbers = [48..57, 97..112, 65..90]; $num …

Software Development perl
Member Avatar for KevinADC
0
97
Member Avatar for hansel13

This subroutine is very basic, however I am struggling. When the user types q (or Q) into the input when asked for the vendor name, the program should return false... However, this function is always returning true. MY if statement is clearly not working: (*vendorName != 'q' || *vendorName != …

Software Development c++
Member Avatar for hansel13
0
189
Member Avatar for abby2589

[QUOTE]can you help me complete this program... it is an encryption program.. it needs another text file(1), that will convert the the contents of text file(#2) and then save it to another text file(#3)..it needs 3 text file..how can i do that??[/QUOTE] [CODE]#include<stdio.h> #include<ctype.h> #include<stdlib.h> #include<iostream.h> void main(void) { FILE …

Software Development c++ encryption
Member Avatar for Murtan
0
112
Member Avatar for caps_lock

Hi, I looked for this on Google, but to no success. Can anyone help/point me in the right direction as to how include a terminal window in an exectuable jar file?? Outside the IDE, I can only access my program by command promt, Im not fussed about layout, I just …

Software Development gui ide java
Member Avatar for Ezzaral
0
62
Member Avatar for Ψmon

Hello all - I need homework help. This part of the assignment is to create a struct, called StudentRecord, the first attribute of which needs to be size 20. My implementation of this is at (1). After instantiating a StudentRecord named MyStudent, I'm to assign some value to it. I …

Software Development c++
Member Avatar for Ψmon
0
168
Member Avatar for super zach

Hi, [code] A= [1,3,5] B=[12,24,36,48,60,72] [/code] Here list A is a list of the elements in list B i want to remove. How can I do this so that I would get list B to then look like: [code] B=[12,36,60] [/code] Thanks in advance, Zach

Software Development python
Member Avatar for Max721
0
323
Member Avatar for Max721

Hi all. Is there any way to extend maximum timer count value above 0x7fffffff i.e. 24.8 days? [code] #include<windows.h> #include<stdio.h> VOID CALLBACK TimerProc( HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime ); void main() { UINT time MSG msg; ::SetTimer(NULL,0,time,TimerProc); GetMessage(&msg,NULL,0,0); } VOID CALLBACK TimerProc( HWND hwnd, UINT uMsg, UINT_PTR …

Software Development c c# c++
Member Avatar for nucleon
0
103

The End.