199,114 Archived Topics

Remove Filter
Member Avatar for
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 …

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 …

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 …

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

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

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 …

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 …

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

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 …

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 …

Member Avatar for Gargol
0
155
Member Avatar for simon126

Please help i am getting an error message when i try to complie my program. It gives me this error rror C2664: 'output_calculations' : cannot convert parameter 1 from 'double (double,double)' to 'double' Context does not allow for disambiguation of overloaded function. I have not the slightest clue what this …

Member Avatar for Dave Sinkula
0
146
Member Avatar for apcxpc

Hi all I am implementing the TSP problem in Java. Here is the question: [quote] There are many strategies to approximate the optimal solution, amongst is the MST-Preorder-Walk strategy. Implement an algorithm that will give an approzimate solution of the TSP using this strategy. You must be able to save …

Member Avatar for apcxpc
0
224
Member Avatar for grandfilth

I've been trying to create a macro which closes excel without the save pop-up coming up, anyone got any ideas? I don't want it to save, this is because i don't want anyone who uses it to muck it up!

Member Avatar for Comatose
0
234
Member Avatar for harrisii

Hi all!! I need to know where I can find details about the Xeon and Opteron processors. I want their features, advanced organizations and uses. I have been searchinf for around 5 hours!! Thank you for providing me information and websites!!

Member Avatar for ayksolutions
0
170
Member Avatar for kahaj

I have two things that I cannot figure out. I know I'll kick myself when I see what they should be. How do I assign the value pointed to by "sSaverPtr" to the variable "filled"? "sSaverPtr" points to a long int. And how would I then go about printing the …

Member Avatar for kahaj
0
145
Member Avatar for atrusmre

In Visual C++ is there a way to update a singal control without updating them all? If so how? (for example, I want to have a clock in my program that doesn't interfer with my trying to type other things).

Member Avatar for Ancient Dragon
0
140
Member Avatar for glamo
Member Avatar for sweetyp

I have 2 text field in a form. 1st field for input date. I want to use onclick event handler for 2nd text field. When user click 2nd text field then show up the value of 10 days before the input date in 1st field. how do i do that? …

Member Avatar for shyamNambiar
0
214
Member Avatar for jwenting

[url]http://www.hacknot.info/hacknot/action/showEntry?eid=76[/url] has an excellent rant about the problems of visual editors (aka GUI builders). While he talks specifically about Java, the same holds true for all of them. And yes, that means Visual BASIC and Delphi as well, languages which traditionally are seen as almost purely visual. I've done several …

Member Avatar for jwenting
0
542
Member Avatar for bang2711

hi , i need to know how to split up and place in diff label.? and randon up the labels i attach a sample program of wat i need. can anyone please help me..

Member Avatar for Comatose
0
124
Member Avatar for Coach_Nate

PLEASE HELP!!! Ok, I've been racking my brain for the past two or three days now on this question, and before you click the back button, I might add I'm not looking for the answer, I'm looking for clearification of the question... here's the question: "In a paragraph or two, …

Member Avatar for Narue
0
180
Member Avatar for atrusmre

How to I remove a varible from memory? A friend and I were talking and he seems to think that just resetting it to "" would be enough. Is he correct? If not, how do I remove varibles when I'm done with them?

Member Avatar for Puckdropper
0
115
Member Avatar for textex

Hi all, I just start with my new forum use vbulletin, and I some help for coding / enlightment ... Usually we hide our links/codes/downloads using post counting from members ( ex: you must have 5 posting before can see our code etc). Now we want people to click the …

Member Avatar for Dani
0
326
Member Avatar for nabil1983

Can someone please have a look and help me on making this Binary Search algorithm work. Donmt know what is wrong with it . [CODE]#include <stdio.h> #include <stdlib.h> #include <time.h> enum SearchResult {FOUND, NOT_FOUND}; SearchResult binarySearch(int array[], int key, int low, int high, int *comparisons); void fill_array(int array[], int sizeOfData); …

Member Avatar for SpS
0
210
Member Avatar for dotnetnewbie

hi This is sandeep.Just started learning asp.net a week ago. I tried creating a simple webform with two labels, one username n other password.And 2 textboxes for entering the above two. A click button also, on clickin which i shd get redirected to WebForm2.aspx which contains a simple label displaying …

Member Avatar for tgreer
0
126
Member Avatar for tmatheson

Hi does anyone out there know of a good PHP script for doing screen scrapes. Ive heard of people using scripts like that to check a book on amazon with a script and a chron job service. Would appreciate any help or info anyone might have. [URL=http://www.webdesigninwisconsin.com]Chicago Web Design Company[/URL]

Member Avatar for tgreer
0
279
Member Avatar for server_crash

I'm finshed with teach yourself c++ in 21 days. It's been fairly good at teaching the basics, but I have two books I need to select from to read next: c++ programming language --bjarne stroustrup the c++ standard template library I just don't which to read next. Which would you …

Member Avatar for server_crash
0
124
Member Avatar for server_crash

I have a javscript function which opens a url....The only thing is I need it to open pages with parameters, and I'm not sure how to do it: [code] <html> <head> <title>LinkOpener</title> <script language="JavaScript"> <!-- function SearchTest(url, args) { // if args is null, do the following window.open(url,'win1','width=600,height=700, status, toolbar, …

Member Avatar for server_crash
0
195
Member Avatar for glamo

*Following is the program where 3 objects (obi) each try to print numbers 1 to 10 with corresponding object name (ob1,ob2,ob3).but due to lack of synchronization there output is mixed with one another .make the program synchronized to produce correct output /* //note:-Do NOT add any DELAY or SLEEP code …

Member Avatar for Gargol
0
136
Member Avatar for dntchaseme

Hello I am trying to read an aicc ini.file and storing each section and its content into a new Object{} [section] prop1=value1 prop2=value2 prop3=value3 prop4=value4 [section2] .... .... Would someone out there knows javaScript regExp and could give me one or two hints on how to write a regex pattern? …

Member Avatar for Gargol
0
157
Member Avatar for c#dummie

hi how do i update multiple rows? right now i can only update one row. it works like this now: user keys in customerIdNo and pwd1. a match in database will display pwd1 in textbox. textbox is databind to password field in access database. user can change the displayed pwd1 …

Member Avatar for v_ashwani
0
107
Member Avatar for elthran2

Hello :) I am in Computing Science 160 and need to do a C++ assignment. I need a program that reads in user input of strings (ex. PTLPPDNQL*) and stopping when a * is read. It then needs to read each letter as a value (P = pennie or 1 …

Member Avatar for mooni
0
156
Member Avatar for bondito

Hi there, i was thinking of building an instant messaging systemon a LAN, for my final year project. Dont know how to go about it, really need ideas. I was planning on using java sockets to create the system. Any helpful tips will be really appreciated.

Member Avatar for jwenting
0
395
Member Avatar for dav83

Hi, Can someone help me in a borland c++ code? i already have a memo field and i want to count the words, i count the blanks but i have problem when appears 2 or more blanks together and when i write to the second line.. Also can anybody tell …

Member Avatar for dav83
0
212
Member Avatar for ashneet

I am using somone's code as example because i dont really understand it. This is a small part of the code which i am using as example. Here is the code: [PHP] class MySQLDB { var $connection; //The MySQL database connection var $num_active_users; //Number of active users viewing site var …

Member Avatar for Daishi
0
136
Member Avatar for Clinton Portis

Trying my hand at extracting user entered data from a multiline edit box... my strategy is to first, get the number of total lines from the edit box.. and the length of each line from the edit box.. and create a dynamic 2D array that is NULL terminated at the …

0
171
Member Avatar for djjkotze

Hi there people! I am trying to implement various sort methods in one program, just to practise implementing sort methods for one of my courses at varsity. However, my method works fine, the moment I use the pointer that it returned, it broke. Here is my program: [code]#include <iostream> #include …

Member Avatar for Dave Sinkula
0
208
Member Avatar for ToySoldier

I can compile my programs easily using MS C++ but I just installed Borland C++BuilderX and I cant compile... <sigh> It's ghosted out. [B]// my program #include <iostream> int main() { std::cout << "Hello World!\n"; return 0; }[/B] This is what I'm doing... 1: Execute C++BuilderX 2: Click new 3: …

Member Avatar for ToySoldier
0
167
Member Avatar for atrusmre

I was wondering if there's a way to convert a CString or a char *x[10] to a int? I know I can convert int to CString, but can it go the other way? Thanx, Atrus

Member Avatar for Ancient Dragon
0
120
Member Avatar for shakoush2001

Hi guys This is not my homework it is a private project Iam working on .... and Ive searched google for an answer...I also found a similar thread on this site but the code would not work. Can someone tell me please how to create a full screen form in …

Member Avatar for shakoush2001
0
449
Member Avatar for simon126

The following code works. However i want it so when the user reaches 500 dollars the last cout statement will run. But for some reason i can't get it to work properly. It skips the last cout statment and enters -numbers. [code]#include <iostream> using namespace std; int main () { …

Member Avatar for vegaseat
0
113
Member Avatar for bradford68

Ok, I have had a hard time trying to understand this next evolution for programming in VB Net. I successfully completed a Mortgage Calculator last week and thought, hey maybe I can do this programming. So went to the next chapter and understood some of it but I am having …

Member Avatar for bradford68
0
223
Member Avatar for spargelsuppe

Hi there, I need help :o ... I have to solve the following task, a person buys goods and everytime the person receives change. The aim is that the person has as few as possible coins in its wallet. The person has an unlimited value of one dollar coins. And …

Member Avatar for pty
0
107
Member Avatar for server_crash

I can't seem to get this sorting alogorithm to work: [code] #include <iostream> void sortAssending(int nums[], int size); int main() { int nums[] = {175,167,160,164,183,187,188,179,176,175, 169,175,176,178,165,160,173,165,187,178}; sortAssending(nums, 20); for (int i=0; i<20; i++) { std::cout << nums[i] << std::endl; } system("PAUSE"); } void sortAssending(int nums[], int size) { for (int …

Member Avatar for server_crash
0
123
Member Avatar for pandiarajan_ar

Hi, i am trying to implement finger print recoginition system. if someone has any code snippet or pseudocode or any idea of Identify core point in finger print image . it's implementing it either in C or java, please help me out with it. thanks.

Member Avatar for pandiarajan_ar
0
416
Member Avatar for ashneet

Hello Can someone explain this code to me as i am a total newb when it come to classes. [PHP] class MySQLDB { var $connection; //The MySQL database connection var $num_active_users; //Number of active users viewing site var $num_active_guests; //Number of active guests viewing site var $num_members; //Number of signed-up …

Member Avatar for ashneet
0
84
Member Avatar for grandfilth

I'd like excel to write the time when one of my macros tells it to copy and paste some cells into another workbook. I'd like it to paste the time into the other workbook. Any help would be much appreciated.

Member Avatar for grandfilth
0
134
Member Avatar for glamo

[code]/*following is the shortest program that finds whether the entered no. is power of two or not,but i need to add some code(logic) to it. note:- program do not make use of keywords like if ,while ,for ,switch. */ #include<stdio.h> void main() { int n; char c[2][23]={"no. is not power …

Member Avatar for EsMaru
0
168
Member Avatar for edmicman

I've implemented a security method where a user goes to a page, if they are are session authenticated, they redirect to a central login page, and then if they login correctly they are redirected back to the originating page with the session variable true. I'm basically using javascipt to accomplish …

Member Avatar for edmicman
0
139
Member Avatar for bumsfeld

Is there a function in wxPython or anything that can creat a variable frequency sounds?

Member Avatar for vegaseat
0
650

The End.