199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jack223

[code]class Thing { public: int Item; Thing (int Value); Thing (int Value1, int Value2); int GetValue1 () const; int GetValue2 () const; private: int DataItem1; int DataItem2; void SetValue1 (int Value); void SetValue2 (int Value); }[/code]<< moderator edit: added [url=http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#code][inlinecode][co[u][/u]de][/co[u][/u]de][/inlinecode][/url] tags >> How many member functions does class Thing have? …

Member Avatar for jack223
0
119
Member Avatar for glamo

hi to everyone , i have to make a program in jav which will fulfill following conditions. first of all, i have to make any alphabet by free hand drawing, like in ms-paint there is a pencil so by using that suppose i am writing b,c or any one alphabet, …

Member Avatar for nordmann
0
193
Member Avatar for corinne1985

I am taking a complex exam for school and I have different programming questions I need help with. Any help will be appreciated. Thanks! Here they are: 1) A company with limited cash needs to bring up a Web server. Which OS/Web server combination has the lowest initial cost? A. …

Member Avatar for corinne1985
0
166
Member Avatar for w00dy

During the program, Word is opened and displays a document. When Word is closed by clicking X or selecting File>Exit, the program must detect the event and reset controls. How is that done, anyone?

Member Avatar for w00dy
0
155
Member Avatar for phani8123

i have a problem on ejb please tell me the steps needed for running an ejb program with ant and with weblogic when i am using weblogic builder for generating xml files it is saying no j2ee component,why so

Member Avatar for phani8123
0
148
Member Avatar for namit

How do i use this str_replace with this [email]bla@bla.com[/email] [email]blac@bla.com[/email] [email]namit@namit.com[/email] and so on so i have setup $email = str_replace(" ", ", ", $mail_list); but it will only talk details if i do this [email]blac@bla.com[/email] [email]bla@bla.com[/email] It does not seam to find and replace return

Member Avatar for zippee
0
216
Member Avatar for needCee

Hi, now i have work on it for a long time it is working but, when it can not find the item any how it will print item not found + item found , i have no idea what is wrong any help welcome, thanks [CODE] .... ... .. if( …

Member Avatar for Ancient Dragon
0
97
Member Avatar for ironfeliks

Hello, I am still a student and this is an assignment, I'm not neccessarily looking for a solution but simpy an answer to guide me in troubleshooting this logical (I think) problem. I designed a simple program to seperate text data into usable fields in accordance with my assignment. I …

Member Avatar for albash
0
652
Member Avatar for AlexClifford

Hello, I have a few web applications that I have been running on one of our web servers at work and everything is fine. Rearrangements have come about and a change of server is needed. Therefore all the intranet websites/applications on one server were moved onto a new server. But …

Member Avatar for Paladine
0
326
Member Avatar for HostChart

We have a cold fusion website that uses an include file for the header. In that header file the page title field is set. This header file is included in every page of the website. So, every page has the same title. Without doing something real fancy, how can I …

Member Avatar for e3computer
0
414
Member Avatar for winbatch

Quick question: Normally when I have a function, I can make one or more of the 'last' arguments as defaults, for example: [code] string whatever( int a, string b="NONE" ) { //blah, blah, blah string temp= "WHATEVER"; return temp; } [/code] The benefit is that I can have one function …

Member Avatar for Lerner
0
265
Member Avatar for Decoder

Hi everyone. I am working on a project which has to change the value of a variable in the executable. Specifically, writing this program: [code]int a = -1; int b = 3; int c = a + b;[/code] I have to go into the executable and change the value of …

Member Avatar for Decoder
0
105
Member Avatar for heavychevy

Ok so I execute a query and am now holding a complete recordset. ($rs_cust) Now when i check if results are returned and whether I am able to loop through this: i.e. While ($row=odbc_Fetch_array($rs_cust)) {Do something} Now I'd like to have it do something else if there are no results …

Member Avatar for heavychevy
0
127
Member Avatar for Kennedy_f

My preparation for SCJP 1.4 has over(in terms of theory),i am in disgust how should I practice the programs, which way is best to practice? in books I just found they have given programs based on concepts, I want to practice programs with their applicative areas. Please suggest me some …

Member Avatar for server_crash
0
253
Member Avatar for jody

Hi, im new at using asp.net and am having difficulty in displaying data onto a web page which has to be retreived from a data base. Pls can someone help?

Member Avatar for Paladine
0
183
Member Avatar for Avner .H.

Hey.. Does anyone know what libraries are needed for using GnomeDruid class (and other Gnome classes), and where can i download these libraries? Thanks!

Member Avatar for vegaseat
0
197
Member Avatar for Jon182

hey guys, I know that in VB data can be taken from an access database then displayed in a flexigrid and I was just wondering is it possible to display the same data in a series of labels rather than a flexigrid as I was thinking about doing this for …

Member Avatar for Jon182
0
165
Member Avatar for fdrage

Hi, I'm using your RSS FEED link to get all the news or event that is happening in your forum. however i am only interested in whats happening in the Java forum. Is there a way where i can RSS only the Java forum? I also noticed that one is …

Member Avatar for fdrage
0
140
Member Avatar for w00dy

I need to search the pc for all files with a particular extension. Can anyone point the way ?

Member Avatar for w00dy
0
408
Member Avatar for peter_budo

Explanation is a bit long so please bear with me, solution is short :lol: We got an assigngment from uni to create word dictionary program to read an external file where each line consist of WORD and DEFINITION separated by empty space. If some word exists more than once add …

Member Avatar for Daishi
0
142
Member Avatar for gokul

Hi Friends, i am developing a Chat Application.. i want to design the my Contact Tree as like in the below image. [URL=http://www.megaupload.com/?d=TYKVH37L]Contacts Tree Image [/URL] (Sorry, i uploaded image in [url]www.megaupload.com[/url] .. -pls wait for 45 seconds.. i don't know how to attach my image to the forum.. if …

Member Avatar for gokul
0
172
Member Avatar for SilentGuy

I am trying to make what I thought was a simple game. Here's what it is the user inputs a number and the computer tries to guess the number. This is done by means of less or more using the inputbox. function. This is what I have so far:- procedure …

Member Avatar for pty
0
160
Member Avatar for hbmarar

hi, I have started programming (learning) to free myself from depencies.I do not know how to do the below. [COLOR=Navy]i made a form that has a input box for emai and two passord inputboxexs.on submit i have to pass the same email inputbox value as the hidden value for username.In …

Member Avatar for digital-ether
0
187
Member Avatar for tbrinkman

I'm creating a JSP page for doing some actions on a database. Everything is working, but I have to add abstract classes as well. When I put the abstraction on a klasse and his two extensions, I get immidiatly a blue HTTP 500 apache status error. HTTP Status 500 - …

Member Avatar for jwenting
0
326
Member Avatar for balor

this is the error: Error Type: Microsoft JET Database Engine (0x80040E14) Syntax error in INSERT INTO statement. /proj/save.asp, line 26 ==== this is my insert into statement: Dim cat, desc, author, strSQL cat = request.form("category") desc = request.form("description") author = request.form("by") strSQL = "INSERT INTO " & cat & " …

Member Avatar for msaqib
0
114
Member Avatar for Mr Cuzac

What is the best script and/or class to parse an XML file from an ASP page?

Member Avatar for msaqib
0
239
Member Avatar for goldeagle2005

Hi all, here's a bit of code for a registration page im working on. <%@ Language="VBScript" %> <%reg=Request("reg")%> <% if reg <> 0 then %> <SCRIPT LANGUAGE="JavaScript"> alert("Confirmed. The information has been entered.") </SCRIPT> <% End If Set Con = Server.CreateObject ("ADODB.Connection") Set rs = server.CreateObject ("ADODB.Recordset") Con.Provider="Microsoft.Jet.OLEDB.4.0" Con.Open(Server.MapPath("cesa.mdb")) sql …

Member Avatar for msaqib
0
130
Member Avatar for aarya

i ahve database in which i hava login information iwa nted to check weather the persons login information is correct or wrong. i m very new to asp. so any body help how i have to proceed <%dim user,pass user=request.form("usercode") pass=request.form("pass") response.write(user) response.write(pass) ' Open database Dim Conn, RS Set …

Member Avatar for msaqib
0
164
Member Avatar for maylim26

i m develop a system related car in/out records. I got data fields like date, time in, time out, car numbers...... My problem is How to count the repeat records base on repeat car numbers on a certain date?( my purpose is count how many times a car in/out on …

Member Avatar for Yomet
0
245
Member Avatar for ninja sense

My program compiles fine but I get a segmentation fault when reading in a dat file.... I had it in a loop but I thought thats what was causing the error, it doesnt even cout anything either. heres the code: [code]indata.open("lib/assign4.dat3"); cout << county[7]; indata >> county[8]; cout << county[8]; …

Member Avatar for ninja sense
0
256
Member Avatar for Yomet

Hi, I am programming an app that I will use to launch different applications depending on the file type specified. I have found, and know how to use, ShellExecute from VB and all I now need to know is how to get the default action specified by the user when …

Member Avatar for Yomet
0
268
Member Avatar for vex

Is there something about adding a JList to GridBagLayout that I am missing. I want to place a JList between a JLabel and a JTextArea. No matter what I do the list seems to stay in column 1. I am only using GridBagLayout in the west pane(wP) I have tried …

Member Avatar for vex
0
178
Member Avatar for Jon182

Hey guys, I am thinking about creating a sudoku game in VB in order to improve my programming skills and as I am quite new to VB I was wondering would it be best to try this task using labels and text boxes or a felxigrid? Thanks in advance.

Member Avatar for Jon182
0
171
Member Avatar for Riptide-X-

I have this function that takes info from two lists, and produces a list that shows their values in ... non interger form (0.8). I'm calling this function in a for loop, and this function gets repeated 20 times, pulling different info each time. This function works just fine, and …

Member Avatar for mawe
0
247
Member Avatar for R.McCarty9793

I need to create a field in Access that included both text and the autonumber feature. We are a non-profit hospital organization and we have multiple locations so we want to create an ID field that is unique by location and still uses the auto numbering feature to generate the …

Member Avatar for Yomet
0
162
Member Avatar for student101

Just finishing up this assignment.. I need a code for the "Highest and Lowest" cmd button that will display the name and score in text boxes for the golfers with the highest and lowest from the golfer.txt file. Here is my GUI & code so far..... [IMG]http://www.geocities.com/rc_og/vb1.jpg[/IMG] Private Sub cmdDisplay_Click() …

Member Avatar for Yomet
0
205
Member Avatar for viperman224

Hi All, I'm messing around with different PHP scripts on my server. I can't seem to setup MySQL. I have installed and configured it. But I have now idea what to do with it. Is it like PHP where all you have to do is install it and its done? …

Member Avatar for chizy2
0
210
Member Avatar for JC_McGeekster

I would like to know if anyone knows of a reference website or help file for JavaScript. Not really a tutorial website, but more of something where I can search for a function and the engine will return my results for that function. A reference sort of like the PHP …

Member Avatar for Gary King
0
167
Member Avatar for oracle4me

Hello i am freelance! my development is half finished please can you create a account and copy and test the codes on your webpages i offer please :o this would help me so much

Member Avatar for thinksmart12
0
118
Member Avatar for dav83

Hi I want to use a File->Print choise in an application with the index written in a memo. how can i print the memo field as a text ?

Member Avatar for dav83
0
196
Member Avatar for stackOverflow
Member Avatar for Kegtapper
0
219
Member Avatar for stupidenator

Hi everyone, I am having trouble with a prgram that simulates Conway's Game of Life. I cannot get the program to run past a few generations. I think I am having trouble with the countNeighbors() or the genNextGrid() functions that is causing the game not to function properly. Anyone have …

Member Avatar for Ancient Dragon
0
179
Member Avatar for tdizzle342

Can someone help me, I've been trying forever and still can't get it. I need to get my C++ program to print in dos enviroment. I need it to print the words "Hello" when i push something and nothing else. #include <cstdlib> #include <iostream> #include <conio.h> using namespace std; int …

Member Avatar for tdizzle342
0
300
Member Avatar for ep2002

Hi there, How's everyone doing? Ok, being just a lowly biz owner LOL, I need someone who's an expert in MySQL/PHP to see if this guy is as good as his software seems. I have no clue how to go about screening a programmer. In fact I'd love to start …

Member Avatar for ep2002
0
189
Member Avatar for mortgage-pro-se

I am really impressed with the advancement of open source software. Projects like mozilla and linux are really amazing. What programming languages do most of the open source projects use? Do you think open source projects will continue to take market share from the big guys?

Member Avatar for Rashakil Fol
0
189
Member Avatar for server_crash

I have a class Person and a Class Store. I didn't find any way to really inherit Store in class Person, so I created Class Store in a namespace called StoreClass. In the person class this doesn't work: using namespace StoreClass; it says that namespace StoreClass is undeclared. I also …

Member Avatar for server_crash
0
149
Member Avatar for JoBe

Hello ladies and gents, I was reading about how "Passing by References" for efficiency and there was a little program added wich shows what the difference is between passing by value and passing by reference is. The program is this one: [code] #include <iostream> using namespace std; class SimpleCat { …

Member Avatar for JoBe
0
247
Member Avatar for server_crash

I have the following code: [code] ostream Person::operator<<(ostream& out, const Person& p) { out << "/n*********************************" << endl; out << "Name: " << Person::getName() << endl; out << "Age: " << Person::getAge() << endl; out << "Health: " << Person::getHealthLevel() << "%" << endl; out << "Happiness: " << Person::getHappinessLevel() …

Member Avatar for prog-bman
0
559
Member Avatar for jtxay

Hello there, I am having problems with this code i have written and it is a tic tac toe program. It runs and everything but it doesn't get a winner when i call the method getWinner. this method is suppose to return 'x', 'o' , or ' ' depending onwhether …

Member Avatar for server_crash
0
113
Member Avatar for fieryidris

i have been making a program using vb2005 but now it is done i have found that it will only work on a computer with .net framework 2.0beta which is currently only in windows vista and not in windows xp unless you download it from microsoft. because of this i …

Member Avatar for fieryidris
0
123

The End.