199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for yagapapa

Hi All Im creating a financial ratio calculator project. After calculating ratios there is a button that gives the users the option to perform another ratio calculation... Initially i used this: controlname.text = "" but then that is not effective, because when try to calculate ratios still in the same …

Member Avatar for yagapapa
0
80
Member Avatar for artee

I am trying to send an email from an ASP.NET application and get the error "Could not create 'CDO.Message' object" It seems to be some permission error and unfortunately cannot figure it out, hence this post. I tested the same code in a VB.NET application and it works fine and …

Member Avatar for amrahne
0
436
Member Avatar for jayrads

Hi all, Have a question regarding an assignment. In a previous assignment we had to implement a program that allows us to enter a system of connected caves within an underground labyrinth. How this is implemented shouldn't matter for this next assignment though. In this assignment, we have to use …

Member Avatar for zandiago
0
170
Member Avatar for hectic

hi i have used the template in my simulation program but it generate the error, my program line of code that generate the error is (these code are in queue.template file) template <class QueueItem> queue <QueueItem>::~queue() // [B]line25[/B] { } template <class QueueItem> void queue<QueueItem>::push(const QueueItem& entry) //[B]line 42[/B] { …

Member Avatar for hectic
0
424
Member Avatar for Duki

I'm getting an error in main() saying TitledEmployee is an undeclared identifier? [code=c++]#include <iostream> #include <string> using namespace std ; namespace Employees { class Employee { public: Employee ( ) ; Employee ( string theName , string theSsn ) ; string getName ( ) const ; string getSsn ( ) …

Member Avatar for Duki
0
91
Member Avatar for danielle2

I have been given a problem that asks me to do the following things. Write a program should be stored in two dimensional array. The program must include the following 1. list 4 qtrly sales for 6 divisions of a company. 2. show each division increase or decrease from the …

Member Avatar for Lerner
0
318
Member Avatar for doraima29

I'm building a dynamic form with radio buttons. These radio buttons will hold values that have specific email addresses of respective people in a company. here is the html and asp code shown below: <FORM METHOD=POST ACTION="mailform.asp" ONSUBMIT="DoctorElements();"> <INPUT TYPE=HIDDEN NAME="urlSendTo" VALUE="/suggestions/thankyou.htm"> <INPUT TYPE=HIDDEN NAME="urlFromPath" VALUE="/suggestions/default.htm"> Name: <INPUT TYPE=TEXT NAME="txtUser.Name"><BR> …

Member Avatar for SheSaidImaPregy
0
156
Member Avatar for nathanpacker

Hey, I'm using a while loop to display all the rows of a table in my database, and wondered if anyone knows how I can make it so the background color of each row alternates between two different colors. I'm using php to call the information, so I can stick …

Member Avatar for nathanpacker
0
87
Member Avatar for adaykin

Hello I am trying to display the total cost after the user enters a product ID, controlled by a switch statement. However the total variable ends up being the product ID, not the price. I want the total to be the sums of the prices. [CODE=javascript] <script type ="text/javascript"> // …

Member Avatar for adaykin
0
179
Member Avatar for theteamdrunk

I am trying to write a program that has to create a structure that has one variable called value and one pointer to the list(making it a linked list). It need to prompt the user for 5 values and store them into the linked list, then print out the list. …

Member Avatar for Duoas
0
102
Member Avatar for jamez333

I am using this html form page... [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Item Entry - Opulentworx - Private</title> </head> <body> <form action="/itemENTRY.php" method="post" id="itemENTERdb"> <input type="text" id="itemNUM"/>Item #<br> <input type="text" id="quant"/>Quantity<br> <input type="text" id="date"/>Date<br> <input type="text" id="cost"/>Cost<br> <input type="text" id="ground"/>UPS Ground<br> <input type="text" id="3day"/>3 Day …

Member Avatar for jamez333
0
97
Member Avatar for DREAMER546

hi .. please can anyone help me with this .. i need it today i wanna to do swith with this .. can i or not? if ( x>y ) cout<< " x is bigger "; else cout<< " y is bigger "; -- and i wanna to do conditional …

Member Avatar for DREAMER546
0
120
Member Avatar for Grub

Hi, I am wondering if there is a more graceful manner in which to clear the console window previously printed values apart from using a loop in which the println(); is repeated. Many thanks.

Member Avatar for jwenting
0
70
Member Avatar for hasfoot

I am very new to C++ and am taking a beginners course in college. We have a project due this coming tues. and I am stuck, I was wondering if you could please help me. Background on proj: I am working in the circulation dept of a magazine, and it …

Member Avatar for Lerner
0
167
Member Avatar for Phanta

Hello, I'll get straight to the point. I'm making a program which lets you enter a row of characters, finds words in that row (words are characters separated by spaces) and output them in another row in alphabetical order. Firstly I wrote this: [CODE]Program ...; Uses crt,sysutils; const MAX = …

Member Avatar for Duoas
0
163
Member Avatar for gerik

I've been trying to work out this error with packages, changing the classpath name in a number of different ways (using set, declaring it in the javac command), but I always get the following errors when I try to compile the following code: import kalut.*; import java.lang.Math.*; public class Koetesti …

Member Avatar for Ezzaral
0
129
Member Avatar for ecestd1

how do you implement a copy constructor for this pointer-based ADT queue [code] #include "Queuep.h" #include <cassert> #include <new> using namespace std; Queue::Queue () : backPtr (0), frontPtr(0) { } Queue::Queue(const Queue& Q) throw(OutOfStorageException) { //implement here }//end copy constructor Queue::~Queue() { while ( !isEmpty() ) { dequeue(); }//end while …

Member Avatar for ecestd1
0
1K
Member Avatar for sarwar

Hi, I am seeking your help on following pthread_create issue on linux OS. The senario is I have a main program which generates new child threads on user request.The new child executes a module and closes. It is working perfectly if there are less then 245 new threads after that …

Member Avatar for Salem
0
178
Member Avatar for GLT

my second thread of the day... hey guys, I was wondering if someone could help me. I am new to SQL Server therefore new to T-SQL, I have worked with SQL before. I am trying to reference foreign keys when creating tables. The code I have in SQL is :- …

Member Avatar for hollystyles
0
103
Member Avatar for abar_sow

can anyone tel wat error i made in the below code..I want to assign the list of strings stored in one variable to one string array.wordlist contains list of variables. [code] for (int s=0; s <=wordlist; s++) { String wordlisting[s]=new wordlist; System.out.println(wordlisting[s]); } [/code] [U]error[/U] D:\program files\Java\jdk1.5.0\bin>javac Main.java Main.java:86: ']' …

Member Avatar for Ezzaral
0
114
Member Avatar for appuguy

Sample Input:o 0 4 0 5 0 8 0 7 0 Press any key to continue . . . This is what I have so far for the code [ [code=c] #include <stdio.h> #include <stdlib.h> #define ARRAY_SIZE 81 int nArray[ARRAY_SIZE]; /*Function prototypes */ void PopulateArray( int nArray[9][9]); void PrintArray(const int …

Member Avatar for WaltP
0
255
Member Avatar for Tekmaven

OK.. I want to start trying to develop a web app using an SQL Server 2000 database. The only language I know comfortably (but not totally) is VB (although VB.NET is giving me lots of problems). What should I use to develop this program? Dreamweaver? Visual Studio.NET has web development …

Member Avatar for nfantano
0
202
Member Avatar for navy2005

Im doing a program that asks to enter a student's grades on four exams, I have to display the four grades and the average of the four grades, to the nearest tenth. The most problem im having is using the variable call total_grade which i have to initialize to zero. …

Member Avatar for navy2005
0
275
Member Avatar for tnvkrishna

is the syntax used below is correct? [code=cplusplus] class zz { private : string s; //constructor private: friend zz operator-(zz z); //assume definition of operator<< }; //constructor //operator<< zz operator-(zz z) { string s; s=z.s+"hello"; return zz(s); } int main() { zz a("fsd"); cout<<(-a); } [/code] i am new to …

Member Avatar for Duoas
0
152
Member Avatar for justapimp

I wrote a program that makes use of the System.Timers.Timer name space and it is not working like expected it to. My program listed bellow excepted two date values and determined if one date is greater than the other by using the DateTime.compare method. If one date is greater than …

Member Avatar for SheSaidImaPregy
0
133
Member Avatar for SouthernBoy718

Hi all. As I'm a newbie and learning VB.NET, I have some questions about pages within pages or maybe even another facit of coding. First, is there a way to call and load an aspx page within another aspx page? Secondly, would this be better accomplished using modules? Here's a …

Member Avatar for SheSaidImaPregy
0
593
Member Avatar for abch624

Hi, I want to implement a functionality in a database so that a menu can hold as many drinks and as many food items as possible. I am using a Link table for this functionality. Please have a look at the link Tables.doc file attached. There is a picture (er …

Member Avatar for abch624
0
110
Member Avatar for greedylobster

Hi all, would some one be able to give me a piece of advise with regard to SoundManager2, please? I am trying to figure out how to make SoundManager2 to play a sound for a certain length of time. I know that it is possible to make it start playing …

Member Avatar for sillyboy
0
267
Member Avatar for cmoodc

given the equations is it possible to develop midpoint algorithm for: hyperbola :ellipse :parabola :circle ??

Member Avatar for twomers
0
119
Member Avatar for parthiban

Hi all, I'm learning Serialization in JAVA . I learned that [B]"an array object is serializable as long as the things in the array are serilizable"[/B] . [COLOR=Green] I just need a clarification on that statement[/COLOR] . To understand that concept I myself coined a simple program . Here it's …

Member Avatar for parthiban
0
103
Member Avatar for parthiban

Hi all , [U]Here are my questions :[/U] I like to know when to use Serialization and when should the preference will be given to Database to persist an Object . To use a database with Java at what level a programmer should be good in Database ? what are …

Member Avatar for parthiban
0
108
Member Avatar for anirudhbsg

hi there ... i am programming in dev c++ although it is very similar to tc++ but there is a certain difference between the two. so does anyone has an ebook on it or a link of any such ebook..... my email address is [i]removed[/i]

Member Avatar for anirudhbsg
0
94
Member Avatar for hawisme000

hello every1, it really makes my mind :confused: about converting sytaxes especially when converting DAO coding to ADO.. for example in making a Login form, usually you can see sample Login form in the net, but most of them is made of DAO, and i cant use DAO ,since im …

Member Avatar for choudhuryshouvi
0
76
Member Avatar for dilasing

Hi I am Dilawar Singh from IBM. I noticed some threads listing issues related to XML database management. We have a great product called pureXML, an excellent feature of DB2 9 that provides new data type to store the XML data. Anyone interested in knowing more, or has any questions …

Member Avatar for dilasing
0
108
Member Avatar for karan_21584

i want to create a dropdownlist and when i click the dropdownlist, then it should show the all databases which is present in SQLserver. (now i m using SQLSERVER 2005 and Microsoft VISUAL STUDIO 2005) can anyone help me plz? thanks in advance. CLEAR MY DOUBT IF U GENIUS

Member Avatar for s_muenchaisit
0
139
Member Avatar for chunchuwar

Dear all, I have written a small script which will send me mail on status of server. I have tested it working fine. I am facing only with message subject The last part of my script is as below, cat dailystatus.txt| mail -s "Daily Server Status Report-$yr-$mm-$dd" [email]root@ecms.co.in[/email] The script …

Member Avatar for chunchuwar
0
105
Member Avatar for people123

So after a day or two of trying i finally found out how to do this, my question is, is there any way to do this that is more efficient without using the prime function? [code]#include <iostream> using namespace std; int main() { std::string line; int i, p, x; for(i …

Member Avatar for WaltP
0
147
Member Avatar for spick

I have to write a code with netbeans for my homework and this is what I need to do "please create Main.java to test the Account class. In the main() method, create an Account object named myAcct with an account ID of 1122, a balace of $20000, and an annual …

Member Avatar for spick
0
135
Member Avatar for iron_man08

Hey I need help with creating this program. It's supposed to take the values I've assigned in int[]A and put them into int[]C in order from least to greatest (for example, C[0] would be 1, C[1] would be 3, etc.) Yes, this is a homework problem, but I've been trying …

Member Avatar for nschessnerd
0
121
Member Avatar for Barefootsanders

Hey everyone, I'm using Dev-C++ to compile the following program. It's simple but for some reason its not working. [CODE] #include <stdio.h> #include <unistd.h> int main() { int n, fd[2], pid; const int MAXLINE = 4096; char line[MAXLINE]; if(pipe(fd) < 0) { printf("Pipe error"); } if((pid = port()) < 0) …

Member Avatar for Duoas
0
318
Member Avatar for MORTGAGEman

Hi, I have a friend who is looking to start a website similar to [url]www.Ratemyprofessors.com[/url] and I was wondering if any ofyou could suggest a script that is similar. Thank you for your time.

Member Avatar for MORTGAGEman
0
94
Member Avatar for theteamdrunk

I need to add prompts for the number, integer and character inputs separatly instead of all at once. I want it to say "enter a number" wait for input, "enter an integer" wait for input and "enter a character" wait for input. Then it is suppose to combine the inputs …

Member Avatar for Duoas
0
122
Member Avatar for phalaris_trip

Hi guys, How do I pass arguments into into the constructor if I'm using new to creat an array of objects? So for example: CParticle* parts; parts = new CParticle[100]; parts is declared globally, but initialised later on in the code.. my lecturer suggested this strange syntax: parts = new …

Member Avatar for Duoas
0
2K
Member Avatar for DemonSpeeding

[code] if (decision == "B" || decision == "b"){ for (k =0; k < rows; k++){ for (m =0; m < cols; m++) switch (image[k][m] = image[k][m] + brightcount) { case '0' : cout <<" "; break; case '1' : cout <<"-"; break; case '2' : cout <<"="; break; case …

Member Avatar for Duoas
0
148
Member Avatar for jliu66

Hi, I have a question ask you or expert. Can python's function return a class at the end of function definition. The class have only a set of data members like struct in C. Please help and thanks in advance. Any good reference on this topic? John

Member Avatar for jliu66
0
13K
Member Avatar for appuguy

Hello I need help with a C program that I solves Sudoku puzzle. I am suppose to write two functions one to populate the arrays from the user input. This function should take as parameters the arrays to fill.Second function to print the 9 by9 array passed to it.This function …

Member Avatar for Ancient Dragon
0
107
Member Avatar for Artis_Croatia

Hi to all I need help with this program, i have problem, i must write it out from left to right not from right to left, but i do not know how to do it, when i change something in program, than it is not working :( here is the …

Member Avatar for zandiago
0
94
Member Avatar for dabu

Shouldn't [I]continue[/I] in my [I]else[/I] statement return me to the top [I]do...while[/I] loop and print the following again? [code] #include <iostream> #include <string> using namespace std; int main() { double withdraw, deposit, balance, newBalance, amount; char ans; string choice; balance = 1000; cout << "Welcome to Whatever ATM!" << endl; …

Member Avatar for dabu
0
126
Member Avatar for Ccrobinson001

This is my first time posting an I need some quick help. I need to get this program to work for two players. once Player 1 loses Player 2 gets their turn. the program works fine just can't figure out the while loop for 2 player. [code=cplusplus] /* header files …

Member Avatar for WaltP
0
270
Member Avatar for preston_naidoo

Hi, i have got this assignment to to which is due in like 3 days, m in high school so n0t so clued up. My asssignment is to create a database with MS Access, n to create a jdbc-odbc link so that the user can extract the data from the …

Member Avatar for jwenting
0
125

The End.