199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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] { … | |
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 ( ) … | |
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 … | |
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> … | |
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 … | |
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"> // … | |
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. … | |
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 … | |
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 … | |
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. | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 :- … | |
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: ']' … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
given the equations is it possible to develop midpoint algorithm for: hyperbola :ellipse :parabola :circle ?? | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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) … | |
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. | |
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 … | |
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 … | |
[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 … | |
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 | |
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 … | |
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 … | |
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; … | |
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 … | |
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 … |
The End.