199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Darkmeerkat

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] …

Member Avatar for John A
0
135
Member Avatar for kiethnt

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 …

Member Avatar for vegaseat
0
100
Member Avatar for AnonyMOUSE

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. …

Member Avatar for AnonyMOUSE
0
161
Member Avatar for Tauren

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!

Member Avatar for jbennet
0
113
Member Avatar for campkev

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 …

Member Avatar for campkev
0
80
Member Avatar for degamer106

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 …

Member Avatar for ~s.o.s~
0
104
Member Avatar for ollie_jennings

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 …

Member Avatar for ollie_jennings
0
97
Member Avatar for daphnie

[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 …

Member Avatar for Lazaro Claiborn
0
101
Member Avatar for MiloTN

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 …

Member Avatar for MiloTN
0
181
Member Avatar for virsa

access c++ private data members without using the " Friend" type main() can be a friend function?

Member Avatar for Laiq Ahmed
0
141
Member Avatar for ajay_tabbu

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 …

Member Avatar for masijade
0
130
Member Avatar for bubblegum007

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 …

Member Avatar for bubblegum007
0
78
Member Avatar for vishwanatha

Hi all, Can anyone help me how detect USB using ASP.NET with C#. I need this one specifically in ASP.Net

Member Avatar for brijesh mehta
0
88
Member Avatar for paramasivan

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...

Member Avatar for paramasivan
0
100
Member Avatar for wandie

: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 …

Member Avatar for wandie
0
847
Member Avatar for marylove2007

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 …

Member Avatar for marylove2007
0
121
Member Avatar for Forum123

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. …

Member Avatar for GreenDay2001
0
110
Member Avatar for degamer106

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() { …

Member Avatar for thekashyap
0
80
Member Avatar for ammochck21

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 …

Member Avatar for John A
0
121
Member Avatar for mercury049

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 …

Member Avatar for mercury049
0
221
Member Avatar for jasworld

Need a help, or hire VB progarammer to interface between different excel sheets.

Member Avatar for mjwest10
0
91
Member Avatar for Rebeli

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 …

Member Avatar for Lazaro Claiborn
0
692
Member Avatar for cassyjack

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 …

Member Avatar for Infarction
0
139
Member Avatar for zesmail

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 …

Member Avatar for iamthwee
0
103
Member Avatar for cancer10

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 …

Member Avatar for Baradaran
0
112
Member Avatar for tlly

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???

Member Avatar for Salem
0
130
Member Avatar for mbacon

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.

Member Avatar for peter_budo
0
115
Member Avatar for mouigher

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 …

Member Avatar for mawe
0
202
Member Avatar for paeez

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 : …

Member Avatar for ithelp
0
119
Member Avatar for tech291083

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 …

Member Avatar for tech291083
0
174
Member Avatar for iaaan

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 …

Member Avatar for iaaan
0
115
Member Avatar for mr.sweetchuck

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

Member Avatar for mr.sweetchuck
0
165
Member Avatar for Primo

[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 …

Member Avatar for masijade
0
129
Member Avatar for chirag0310in

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 …

Member Avatar for chirag0310in
0
116
Member Avatar for torbecire

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 …

Member Avatar for WaltP
0
100
Member Avatar for Hellodear

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' …

Member Avatar for Hellodear
0
169
Member Avatar for bananenflip

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.

Member Avatar for bananenflip
0
302
Member Avatar for ajay kandari

[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]

Member Avatar for Salem
0
403
Member Avatar for bananenflip

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() …

Member Avatar for WaltP
0
89
Member Avatar for chubbywubba

[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); // …

Member Avatar for WaltP
0
86
Member Avatar for degamer106

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 …

Member Avatar for degamer106
0
121
Member Avatar for Thendral

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..

Member Avatar for jwenting
0
108
Member Avatar for dragoshstoica

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 …

Member Avatar for JJarvis
0
105
Member Avatar for terp410

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 …

Member Avatar for terp410
0
1K
Member Avatar for arfmal

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? …

Member Avatar for Lerner
0
163
Member Avatar for Mushy-pea

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. …

Member Avatar for Mushy-pea
0
129
Member Avatar for Matt Tacular

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 …

Member Avatar for Matt Tacular
0
303
Member Avatar for arjunsasidharan

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?? :)

Member Avatar for arjunsasidharan
0
123
Member Avatar for unknownunknown

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 …

Member Avatar for arjunsasidharan
0
2K
Member Avatar for samwisethegreat

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 …

Member Avatar for samwisethegreat
0
115

The End.