199,114 Archived Topics
Remove Filter ![]() | |
I'm having some trouble understanding how Exceptions thrown from constructors work... Let's say I have a class like this: [code=C++] class A { public: A() { if( error ) throw MyExp; } } [/code] If I try to define a variable of type "A" within a [inlinecode]try {} catch {}[/inlinecode] … | |
Dear all, Now I have a small program to communication via RS232 cable with 3964R protocol that is written by Borland C++, however I don't under stand it can be used on Win98 only. Any body please show what I could do to use this program on Win XP. Many … | |
have to make 4 triangles * ** *** **** **** *** ** * up to 10 lines on each, but to save space i threw down 4, i have those done no problem here is the code i popped to make those happen, this is VB '05 Command App btw. … | |
A person ineed deserves books indeed! Umm any college like books we know of that I can get?? From C++ to the end! Maby not way end but enough to build a game! Other post disregard Noones responded to it in the last [B][I][U][COLOR=purple]48[/COLOR][/U][/I][/B] hours! | |
ok, I am new to master pages. I have created a public function called setMenu in the cs file. I can call this function fine from about half of my pages, but when i try to call it from the other half, it won't compile and I get [quote]'System.Web.UI.MasterPage' does … | |
Hi, I can't get the following code to work. I have my converting constructor (second line) to change an int type to a car type but my compiler says there's something wrong with the overloaded + operator. It says here in my book that if I want to do an … | |
Hi im new to this but i am doing a project for my business, i was wondering how in the validation rule you can set it so that it will have an error message if i do not insert a decimal point e.g for car enngine size 1.6 if enetered … | |
[COLOR=darkslateblue]Please help me!!![/COLOR] [COLOR=darkslateblue]How can I do the below ex. , please help me!!![/COLOR] [COLOR=red]Description: [/COLOR]In this assignment you will implement the ADT Stack. You will be using stacks in order to count the pairs of three types of brackets: {}, [], and (). The input will consist of an … | |
Hi there^^ Its my first post on these forums, and as much as I hate it to be a shout for help ive got a problem I could really use someone with a bit of knowledge to help me out with =) My scenario being ive got to write a … | |
hello friend i want to make java program to slove trigomeric eq but i dont know how to stare as i m new in java i don't 9 how trigomeric eq can slove bye java can u tell me how i should thikg logicaly i need u r logical help … | |
I want to simulate some kind of overlapping scroll areas. I have (actually, i would like to have..) an area which scrolls over the X - axis. But half of this scrolling area is in another scrolling area, over the Y axis. It's like 2 rectangles 1 X 2, one … | |
Hi all, Can anyone help me how detect USB using ASP.NET with C#. I need this one specifically in ASP.Net | |
Hello to all thread viewers, There is any way to set a control's property through its "TABINDEX"... For example can i focus a textbox by simply knowing its "TABINDEX"... Thank you... | |
:sad: Please could some please help me out here . I have an array. I want to count how my 'a' appear and the a must have its quotes 'a' [code][(' ', ' ', [('a', 'Scott'), ('9', 'vth')]), (' ', ' ', [('a', 'Jenny'), ('9', 'vth')])][/code] Like this one has … | |
Help Plzzzz!!!!!!!!!!!!!!!!!!!... > A palindrome is a number or a text phrase that reads the same backward and forward. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554 and 11611. > ,mvcxmzxWrite a script that reads in a five-digit integer and determines whether it is … | |
Hi all, I am very new to this forum. I am looking for a good ASP Tutorial (not ASP.NET since I have a site with .asp extension) that can teach me everything from A to Z. Does anybody know a link for a FREE ASP tutorial, please? Thanks in advance. … ![]() | |
How do i dereference a pointer to something in a class without having to write another function to dereference it for me? For instance in this code: [CODE]class Fraction { public: Fraction(int left = 0, int right = 1); Fraction(Fraction & obj); ~Fraction() { delete fl; } double getFraction() { … | |
can someone tell me what is wrong with this code? We are supposed to use recursion to see if the two arrays are equal. [code] int Equal(int a[], int b[], int left, int size) { if (a == b) { return Equal(a, b, left + 1, size); } else return … | |
Hi, thanks for any help provided in advance. I've tinkered with programming for years, but trying to get serious now. I just read a book called "Learning to Program with VB.net". pretty good book. But the writers approach (since it was for beginners) was to use txt files as a … | |
Need a help, or hire VB progarammer to interface between different excel sheets. | |
Hi I have a little exercise that I was assigned. This is what needs to be done: - Read 10 numbers from keyboard. - Sort them by Insertion Sort algorithm - Print the sorted numbers in ascending order This is for MIPS and the program I use to run it … | |
Hi need a little help I cant see whats wrong with this code can someone take a look at this and steer me in the right direction. Specs say: I have to make hands comparable. I only comparing hands of the same length. One hand is bigger than another if … | |
Hi I am not a programmer however, I have been using multimedia software called Opus Por v5 (free trial download from [url]www.digitalworkshop.com)[/url]. Opus pro uses whats know as scripting - my understanding is that it is similar to C++. I need help to write some script to make my home … ![]() | |
Hi, I am designing a small advertisement management program in asp, and Sql Server 2000 as database. My table has the following fields which are pretty self explanatory: bannerId, bannertitle, bannerurl, imageURL, bannerpirority bannerId = Autoincrement to generate unique id for a banner ad bannertitle = String title of the … | |
hello everyone, i used the method substr() in a c++ program . I now need to convert my program in C. Does anyone know if there exists an equivalent of the method substr() in C??? | |
SELECT * FROM `studentcourse` WHERE `systemcode` = 'ilscorp' AND `status` = 'complete' AND `techcode` IN (SELECT `techcode` FROM `usersubscription` WHERE `subscription_id` = '296') After I run this the server has an intense lag and needs to be restarted or timeoutes occur. | |
I saw this was in a earlier post, but I need some addition help with it. I need help please to write this [URL="http://www.daniweb.com/techtalkforums/thread39939.html#"]program[/URL]. Numerologists claim to be able to determine a person's character traits based on the "numeric value" of a name. The value of a name is determined … | |
iv written a code that insert a node befor a node containing a certain value(for example insert a node having value 3,befor the node containing value5),i checked the code many times,i couldnt find any mistake, but the compiler errors this part. can any one help. here is the code : … | |
Hi, I was wondering whether PHP being a server side and kind of scripting languages, can be or being used for application/software development just like any other regular programming languages such as c/c++ or java. As far as I understand it is meant for web use only and thus can … | |
Hi, I am reading textfiles in a structure like this: [CODE] ifstream TextFile; TextFile.open("quote.txt"); while (!TextFile.eof()) { TextFile >> Quote[RecordNumber].RefNumber; TextFile >> Quote[RecordNumber].Surname; TextFile >> Quote[RecordNumber].Initials; TextFile >> Quote[RecordNumber].TotalCost; TextFile >> Quote[RecordNumber].DeliveryCost; TextFile >> Quote[RecordNumber].Guarantee; TextFile >> ws; RecordNumber++; } TextFile.close(); [/CODE] However, this needs to be put into a … | |
Hi, I'm trying to write some code to connect my MIDlet to a database and I keep getting this compile error: package javax.servlet does not exist It does infact exists and I just can't figure out why I'm getting this error. :confused: What am I donig wrong? Thanks, chuck | |
[I]You are to run a series of trials. For each trial you will pick a random number between 1 and . Call this number . You will run tests with this number . For each test you will pick a second random number between 1 and ; call this second … | |
Private Sub Command1_Click() Dim RetVal RetVal = Shell("cmd.exe", 1) ' Run Command window. SendKeys "telnet ip{ENTER}" ' For pinging ip SendKeys "login id{ENTER}" ' send login SendKeys "password{ENTER}" ' send password End Sub '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Hi Friends, this is my simple program for pinging to my system and then i want … | |
I would like to make this first function work as the one were i opened it from a file. In this first one i am using arrays the second one uses strings. ignore the masking of the password in the first one i want it to do that and then … | |
Hello everybody, I'm a newb of ASP. Yesterday i've practiced add to database, delete, update, search using ASP. Database: MS Access. I have fields of name, age sex, place, address; how can i make appear all fields except name as tooltip, when we drag the mouse pointer over the 'name' … | |
I'm so sorry for asking but where should I insert or save C++. I'm skilled in html css and javascript but I don't get this. | |
[code=c] /*factirial*/ #include<stdio.h> #include<conio.h> void main() { int n,s=1,i; clrscr(); printf("enter n "); for(i=1;i<n;i++) { scanf("%d",&n); } for(i=1;i<n;i++) { s=s*i; } printf("factorial is %d",s); getch(); }[/code] | |
I'm so sorry for asking but where should I insert or save C++.:rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes: I'm skilled in html [URL="http://www.daniweb.com/techtalkforums/thread71182.html#"]css[/URL] and javascript but I don't get this. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Test</title> <script type="text/javascript"> function test() { alert("NIET KLIKKEN VERDOMME") } </script> <script type="text/javascript"> function startTime() … | |
[code] #include <iostream> //For console output #include <windows.h> // WinApi header using namespace std; #define EMPTY_CELL 177 #define CURSOR 1 #define TAIL 219 #define NUM 6 class Room { private: public: bool visited(); bool active(); Room(); // Default Constructor Room(bool visited, bool active); // Overloaded Constructor Room(const Room& node); // … | |
The problem I'm having is with overloading the >> operator so that I could read data from a file directly into a class's member data. Everytime I run through the program, it just crashes. when I look through the debugger, it brings me to some page of crazy code. So … | |
Hai.. I need to connect a database called "Postgresql" with a jsp code. how it can be done? I need the connection procedure for that. plz reply me.. | |
Hi . I have this problem and I hope u will help me. I use DISQLite3 Personal_1.3.4 for tables and I have to verify if a code is in database and to show automatically a title from the database that coincide with that code . I was able when i … | |
I am writing a program to prove if a code is a Palindrome or not and must use stacks. I have written a code below that compiles, but when I run it, it outputs the word in an a stack view, but does not follow the rest of my program … | |
I use C++. .I have a big problem. I need to divide data from the strings and put them into the vector.In this case, let's say i have two strings and each string will end with '\n', how will i read the characters for each string without ignoring the newline? … | |
Hello everyone. Does anyone know if there is a way to start a child process from within a script, then capture the child's standard output and exit code? From looking at the docs it seems that [code=perl] $status = system("command"); [/code] lets you capture the exit code but not STDOUT. … | |
As part of my programming class, I need to go through the tutorials, and make my own program that shows off whats in the tutorial, I'm done with the class tutorial and have it all done except one part. The volume part doesn't return the right value and I don't … | |
hello ppl, i need to knw whether v can use opacity in a picture box.. wat i hav to do is i need to load few pics in a picture box n when t pic fades away a new pic loads up.. Any ideas?? :) | |
Hi, I have a requirement to insert data from dataset into a table in the database. Actually i have records in the excel sheet that has to be inserted into the database. I have populated them in a dataset. Now this dataset has to be validated against some conditions. After … | |
Hi all, I am new to ASP.NET 2.0, im learning the language for my thesis and and i would be glad of some help. The application is a Project management tool and i have already created a login page. Can anybody give me code to add a record to a … |
The End.