132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for smallville

Hi guys/gals, Boy what an experience it has been searching and reading through these forums. I have learned so much! I was given the task of pulling information from a database and entering it into a program that would sort the names. I was able to get that step down …

Software Development c++
Member Avatar for Dave Sinkula
0
198
Member Avatar for Asif_NSU

I wanted to explore and know about the GUI toolkits available to be used with C or C++. I heard a bit about Qt, GTK, Mingw etc, and there's MFC too. For the moment I am not quite sure which one to start with. Does a programmer need to know …

Software Development c++ gui qt
Member Avatar for Ancient Dragon
0
573
Member Avatar for jack223

can't find where the error occurs using debugger? any help plz~~ [code] //this program computes how much money will //accumulate after so many years of investing #include <iostream> using namespace std; float Balance = 0.0; float Interest; float YearlyCont; int NumYears; //this function computes one year of investment float newBalance(float …

Software Development c++
Member Avatar for jack223
0
132
Member Avatar for btech

The assignment I am working on is to create a doubly linked list. This is what I have thus far. However when I compile I get 2 errors: LNK2001 unresolved external symbol and LNK1120 unresolved externals. Was hoping someone could look over my code and help me with these errors. …

Software Development c++ linked-list
Member Avatar for Ancient Dragon
0
162
Member Avatar for tdizzle342

I just wanted to know how to draw a thick line and also can anyone tell how drawArc works , in know how to make it work (x,y,width,height,startAngle,Arcangle) but i cant figure it out. Line just arc in ways i dont really understand. Thanks.

Software Development java
Member Avatar for NPH
0
153
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? …

Software Development c
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, …

Software Development gui java
Member Avatar for nordmann
0
193
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?

Software Development visual-basic
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

Software Development java xml
Member Avatar for phani8123
0
148
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( …

Software Development c
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 …

Software Development google
Member Avatar for albash
0
652
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 …

Software Development c++
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 …

Software Development c++
Member Avatar for Decoder
0
105
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 …

Software Development java
Member Avatar for server_crash
0
253
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!

Software Development python
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 …

Software Development display visual-basic
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 …

Software Development java
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 ?

Software Development visual-basic
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 …

Software Development c
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 …

Software Development image java
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 …

Software Development pascal
Member Avatar for pty
0
160
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 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 …

Software Development visual-basic
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]; …

Software Development c++
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 …

Software Development file-system visual-basic
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 …

Software Development java java-swing robotics
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.

Software Development visual-basic
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 …

Software Development python
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 …

Software Development visual-basic
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() …

Software Development display gui visual-basic
Member Avatar for Yomet
0
205
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 ?

Software Development c++
Member Avatar for dav83
0
196
Member Avatar for stackOverflow

Hello Everyone, I'm supposed to do RDBMS project using vb6.0 or vb.net.. any suggestions??

Software Development vb.net visual-basic
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 …

Software Development c++ unix
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 …

Software Development c++
Member Avatar for tdizzle342
0
300
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?

Software Development c++ open-source
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 …

Software Development c++
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 { …

Software Development c++ storage
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() …

Software Development c++ ios
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 …

Software Development display java java-swing
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 …

Software Development microsoft vb.net windows-vista
Member Avatar for fieryidris
0
123
Member Avatar for Gargol

I am prepared to be corrected if I am wrong but... The Jtable is a pretty powerful and useful object. As I understand it the JTable is designed to hold one object type in each column. For example this matches well with the rows representing the records in a database …

Software Development java
Member Avatar for jwenting
0
369
Member Avatar for jeni_4

I am trying to write a program that maps a product to its description. I have attached the text in the end. This is the code I have come up with. It compiles fine but does not give me the result properly.. [CODE]import java.io.*; import java.util.*; public class InstanceItem{ HashMap …

Software Development java
Member Avatar for Gargol
0
139
Member Avatar for freesoft_2000

Hi everyone, I really deserve a kick for asking this question so please bear with me. Assume i have two classes class a and class b. Now class b depends on class a to compile correctly. Class a has been compiled and the class file is generated correctly. Now when …

Software Development java
Member Avatar for jwenting
0
225
Member Avatar for wdowell84

I've had a terrible time with this program. I don't really understand it that much, but have been working on it for about 4 hours so far. One of the problems I'm having is that it keeps saying that local function definitions are illegal. Here's the program so far. Input: …

Software Development c++ display
Member Avatar for Dave Sinkula
0
166
Member Avatar for Batman007

I am trying to write a program that will demonstrate the use of functions with a structure. I know a lot of students try to get quick answers, I want to learn, but I am stuck, and could really use some help. I keep getting the following error: C2448: 'salary' …

Software Development c++ ios
Member Avatar for Batman007
0
254
Member Avatar for SelArom

hello! I tried posting this in another community forum and didn't get much success... is there no way to duplicate the >> operator functionality in C#? I have a file that is set up like this: 450 350 0 0 10 390 10 20 40 20 0 1 1 0 …

Software Development file-stream
Member Avatar for SelArom
0
148
Member Avatar for Balachandran

hi guys, i am a beginner and i need a few books which are really good and have lots of exercises.it would be better if it was fully devoted to exercises like 'Exploring C' by Yashavant Kanetkar which was excellent.All his C books are fantastic. you can finnd them at …

Software Development c c# c++
Member Avatar for stackOverflow
0
152
Member Avatar for ricciola

Hello! I'm a new user of this forum. I'm italian and I work like programmer. I need of some information about C code and I wish you help me! Bye bye :D

Software Development c
Member Avatar for ricciola
0
218
Member Avatar for mb1

I need to write a program, in C++, that will read from a .dat file How do I make one? My book mentions a header line, etc. It does not go into any more detail and I can't find a description of how to do it online. Am I making …

Software Development c++
Member Avatar for Ancient Dragon
0
2K
Member Avatar for bobr_1013

Hi, I having problems with loading created objects into an array, then being able to access the records later in the program. The following is a listing of my current program. The code I have thus far, reads information from a file, builds the objects (DVD, Ipod, or Walkman, then …

Software Development java
Member Avatar for Gargol
0
155

The End.