132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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 … | |
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++ | |
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 | |
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 | |
[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 | |
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, … | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
I need to search the pc for all files with a particular extension. Can anyone point the way ? Software Development visual-basic | |
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 | |
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 … | |
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 - … Software Development apache java java-jsp java-netbeans web-server | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
Hello Everyone, I'm supposed to do RDBMS project using vb6.0 or vb.net.. any suggestions?? Software Development vb.net visual-basic | |
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 … | |
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++ | |
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 | |
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++ | |
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 { … | |
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() … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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: … | |
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' … | |
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 | |
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 … | |
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++ | |
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 |
The End.