199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zgulser

Hi, I have class X and class Y such as the following; [code] class X { ... void foo(); ... } ----------------------------------------------- #include "X.h" class Y { void hoo() { X myNewX; myNewX.foo(); } } int main() { X newX = new X(); } [/code] When I do this, it …

Member Avatar for Ancient Dragon
0
122
Member Avatar for NenadL

Hello, i found your forum useful from time to time while i was an absolute beginner in C language. And i'd like to thank you all for that. Now i have a problem i don't have too much time to solve, so i was wondering if any of you guys …

Member Avatar for Ancient Dragon
0
377
Member Avatar for Jayrrus

[CODE] this is my program could somebody help plz #include <iostream.h> #include <string> using namespace std; typedef int ComponentType; struct CropType { string crop; string farmer; string color; }; CropType myCrop; struct TreeNode { CropType info; TreeNode* left; TreeNode* right; }; void Insert ( /* in */ ComponentType item); void …

Member Avatar for ArkM
0
136
Member Avatar for kjain

Hi All, I am mysql newbie. Please have alook at this querry. [code=sql]SELECT b.date as date, a.tirthankar_name as tirthankar_name, a.kalyanak as kalyanak FROM table1 a, table2 b WHERE a.mass = b.mass AND a.paksh = b.paksh AND a.tithi = b.tithi AND b.date BETWEEN CURdate( ) AND (CURdate( ) +9) ORDER BY …

Member Avatar for kjain
0
145
Member Avatar for Motvel

I need to do a project. How can i develop a keyboard driver in C & ASM? which book i should to consult. Its very helpful for me if i found material on internet. Please provide appropriate URL? The keyboard is connected through USB. if u can help me i …

Member Avatar for cuocthiseo01
0
148
Member Avatar for trelek2

Hi! I'm a newbie in drawing graphics with Java and have another problem with my traffic Jam simulation: At the end of the simulation the program should draw the finalA array as a series of filled/unfilled squares. All I get is a white window coming up:@ I will post all …

Member Avatar for Ezzaral
0
133
Member Avatar for Bidamin

Hi, I am trying to write a script that takes in a user inputed Excel file and adds/deletes/edits a row and re-saves it. Because xlrd and xlwt dont work together I am forced to combine them together and copy the xlrd workbook to an xlwt workbook. I am using python …

Member Avatar for slate
0
809
Member Avatar for pspwxp fan

Hey wizeguys, I am using windows XP and have VC++ 2008. I can make a simple GUI window and write text and add menus and all that n00bish crap. I want to move further. Firstly, i atleast want to know how to change the color of the text that we …

Member Avatar for William Hemsworth
0
194
Member Avatar for sarithak

Hi frnds.. i need to know some ajax based small websites.... i mean website designed by using [B]ajax[/B] with [B]php.[/B]... Also send me some urls regarding ajax basics to learn ajax easily.. ....

Member Avatar for uncle_smith
0
125
Member Avatar for Alien15x

am i correct in assuming that when a computer behind a router with port forwarding opens a port (port 1337, when i run my server), that the router automatically notices and sets itself up to send all port 1337 traffic to that computer? i've got two simple applications, a client …

Member Avatar for Freaky_Chris
0
971
Member Avatar for msshapira

Hi all, I have written recurisve pathfinding fuction from matrix[i][j] to matrix[x][y]. however, it's not returning the right values. It is supposed to return the minimal cost from 2 points using any possible path. all ".value" are the cost to use this Node all ".bestFromStart" are the max of long …

Member Avatar for nucleon
0
111
Member Avatar for amarsha4

Hi, Apologies if I'm missing something really easy here: I have a TabStrip with 4 tabs on my form. When the user is editing the information on one of the tabs I want to display a message box confirming whether the data should be saved. Here is what I have: …

Member Avatar for amarsha4
0
146
Member Avatar for doomsweek

I'm currently having problems in designing a database for a loan project. This is my current design: [IMG]http://img264.imageshack.us/img264/4396/coopdbjx7.png[/IMG] ("member_int" is supposed to be member_id. The software I'm using cropped it. :( ) Here is what the relationship should be: [LIST] [*]A member can have 0 or more loans [*]A loan …

Member Avatar for timothybard
0
148
Member Avatar for trelek2

Hi! I'm really fed up with my program. I'm trying to write a JAVA simulation of a traffic jam. In the beginning the user inputs the length a of Road n (problem with the constructor) and the number of cars c. The Road is an object- simply an array filled …

Member Avatar for verruckt24
0
710
Member Avatar for MJV

Hi im new to C# and I have a form with customer data on it. There is a combo box with the customer name and some address fields. When I select the customer name I would like the address field to be automatically updated from the customer table. Can anyone …

Member Avatar for JerryShaw
0
114
Member Avatar for lllllIllIlllI

Well this is probably a really stupid question but i was doing pygame tutorial and i dont know what a vector is and they keep talking about them, there were special vector classes and things like that, im rather confused, so if someone could teach me what a vector is …

Member Avatar for Ene Uran
0
131
Member Avatar for monkey_king

Hey, does anyone know if it possible to have something like [CODE] #DEFINE NUM_DEC 4 printf("This is your value:%.NUM_DECf\n"); [/CODE] thanks in advance

Member Avatar for Prabakar
0
98
Member Avatar for karthi_selva

hi, i need to add the information into the datagridview manually. i searched in google and books. they fill the datagridview by using Datasource method. but i need to add at compile time please share ur ideas.......

Member Avatar for LizR
0
139
Member Avatar for karthi_selva

hi, i am doing a project using C#. i haven't much knowledge in C#. i stored some information in Dataset like named as (Table). i do't know how to collect the data from dataset(like Table) using DML (query). i do't know about the connection information. please kindly provide the notes …

Member Avatar for karthi_selva
0
195
Member Avatar for rapture

I'm having trouble getting this while loop to stop and look for a new input. Obviously the while loop is infinite because I don't get new input. I know this is easy but I'm still stuck here is my while loop [code] while (guessInt != randInt){ setPrevGuess(guessInt); guessInt = Integer.parseInt(GuessGame.numberField.getText()); …

Member Avatar for rapture
0
89
Member Avatar for smahaf

Hi I have the following PHP search results page I am trying to configure the results page so that regardless of what is searched or what search fields have or do not have data the results are allways ordered by lastname. If I use Order by lastname in the initial …

Member Avatar for smahaf
0
106
Member Avatar for rockyPrz

Hi im new to jsp and I was wondering anybody could help me about uploading images using jsp.

Member Avatar for peter_budo
0
89
Member Avatar for karthi_selva

hi, P1 c1 c2 p2 c3 c4 (pls consider this is treeview: P1,P2--Parent, c1,c2,c3,c4---Child nodes) task is , when i select the item from treeview. i like to show in the datagrid view. if user selects one parent item from treeview. i like show in datagrid view that entire parent …

Member Avatar for karthi_selva
0
130
Member Avatar for jamello

how do I send a text file to a printer connected to the client's computer. I have a vb.net app. running currently with internet explorer only browsers. I constructed some texts based on the inputs from the user and need to (a) save it on the client file system (b) …

Member Avatar for sreenivas.sudha
0
197
Member Avatar for theighost

Hello, I am to draw a cylinder, so I thought I should start learning to draw an ellipse first, can anyone please help me with the algoritm at least, or if you have an explained code I would be grateful. BTW i am using borland C++ for dos version 3.1 …

Member Avatar for theighost
0
84
Member Avatar for Marcel91

Hey, What i'm trying to do is to use the string.find command with a pointer. Here is the code that i've written sofar. [code] #include <iostream> #include <string> using namespace std; int main() { string one[3]; string two[3]; string searchalt; string *point; int search[3]; int a = 0; size_t found; …

Member Avatar for kbshibukumar
0
104
Member Avatar for conspiringfate

I am looking for a very simple article submit script. That is free. Anyone know of any? mike

Member Avatar for NormandP
0
151
Member Avatar for Mike Savino

so, to be honest, I'm a student at drexel. I have a comp sci problem. My program works fine except for: [code] if (stuAns[i]!="A" || stuAns[i] !="B") { i--; cout<< "Your answer must be capital A or capital B"<<endl; } [/code] this is embedded in a for loop. Also, it …

Member Avatar for kbshibukumar
0
71
Member Avatar for karthi_selva

hi, i am new to .net. i like to add the datagridview into the datagridview. please share ur ideas,

Member Avatar for LizR
0
172
Member Avatar for Traicey

A user have to register to the site using Her existing email address as a user name so I need to send an email to the user's email address once her registration to my site is successful can anyone provide me with a code ASAP please

Member Avatar for Traicey
0
629
Member Avatar for owkaye

I have a site under development that's going to use a JS-based drop down menu which will open when the visitor hovers over a single element called "menu" at the top of each page. Naturally the folks who have JS disabled are not going to be able to use this …

Member Avatar for almostbob
0
145
Member Avatar for vishi

hi, I write flash games, usually i do it for web sites but now i have to make flash game for CD. My employer want me to make an installer which will write files on disk, how to do this? i mean what soft do you usually use for this, …

Member Avatar for vishi
0
95
Member Avatar for nawabsheriff

hi i wanna create a web page in such a way that, if a user gives a data in a text field,And click the submit button, it should automatically store in a drop down menu options... pls help me in devloping the code for this..... Thanks Nawab

Member Avatar for cwarn23
0
79
Member Avatar for jmumby

hello, learner here. I have a function that checks a textbox for a value if it is below 500 or above 1000 it comes up with a message box. To invoke this I have the function at the top of a action for a button... [code] void Cal2Click(object sender, EventArgs …

Member Avatar for jmumby
0
137
Member Avatar for yaweriqbal

Dear All, I am using 2 listboxes, 1st containing values and 2nd to hold values selected from 1st listbox. On double clicking in 1st listbox selected value moves to 2nd listbox. Requirment is after movment of selected value to 2nd listbox countrol should be back in 1st listbox and next …

Member Avatar for stanna83
0
145
Member Avatar for spec80

Hi, I am writing a program that has 3 files: File 1: One.java File 2: abstract1.java File 3: child.java Child is a subclass of abstract1 and abstract1 is an abstract class. I am trying to call a method in the Child class from One.java . Currently i have this: One.java …

Member Avatar for masijade
0
123
Member Avatar for vasunttfshimoga

why we have to declare the main function inside the class and we have to save the file name ( .java) as the class (which contains the main function) name why............what's the reason ? Can we use another name for the saving the .java file ...........

Member Avatar for stultuske
0
121
Member Avatar for Ghostenshell

Having trouble with the final loop in this craps program. Any suggestions. Problem starts on line 28. Was thinking about breaking the whole thing into functions but I don't exactly know where to call them at. When I do call them I get accessed before argument errors or something to …

Member Avatar for oldSoftDev
0
128
Member Avatar for ryan858

Hey, thanks in advance for any help! I need to search a file for a specific word starting on a newline then skip a SPACE and read the next word into a char array or string, and then skip a word and read the next word, stopping at the next …

Member Avatar for ryan858
0
96
Member Avatar for RexxX

If I know the sizes I'm using, I can declare the array as: [code]char arr[20][20];[/code] Is this correct? Well, I want to know how to insert a full string into the array of strings. I thought it might be: [code]fscanf(infile, "%s", *arr[i]);[/code] but this line gave me the error "warning: …

Member Avatar for RexxX
0
159
Member Avatar for tropix

Hi all. My problem is probably ignorance as to how the DGV works, anyway, the problem. I have a bound datagridview which is used to collect user input. Data for 3 of the 7 fields is entered by looping through the rows and progmatically entering common data anfter a 'Save' …

Member Avatar for tropix
0
86
Member Avatar for anandknd
Member Avatar for silambharasan
0
85
Member Avatar for Coreye

Hey guys, OK, here's what I am trying to do: I need to log into another website, and download their reports. Seems easy right? Well, it is... because I've done it with numerous other websites. However, this one is tricky. The only way I can download the report at this …

Member Avatar for Coreye
0
120
Member Avatar for nandomendoza

Can anyone help me get started on this instruction for a for loop: Ask the user for 2 integers. Print all the numbers BETWEEN them and also this one When everything else works, implement a for loop that is an infinite loop I have no idea where to start with …

Member Avatar for verruckt24
0
116
Member Avatar for kclove

Hello Guys, Im having a problem with my request code. I need to send a request to a friend and it should appear on the friends page when the friend log in. then if the freind accept it, it should get updated in the freinds table , ut I seem …

Member Avatar for sarithak
0
167
Member Avatar for m610

I'd like to be able to send a text message to a person from the program I am working on. I've been researching on the web and found a few code examples that according to the comments sometimes worked and sometimes didn't. I've also found some very capable looking software …

Member Avatar for LizR
0
110
Member Avatar for claretm

Hi All, The gap between consecutive prime numbers 2 and 3 is only 1, while the gap between consecutive primes 7 and 11 is 4. Can somebody help me in writing a parallel program to determine, for all integers less than 1,000,000 , the largest gap between a pair of …

Member Avatar for claretm
0
3K
Member Avatar for ditty

hi How can i get the html of a given web page?.. I have the url of the web page...please help me ....very urgent...Thank you Ditty

Member Avatar for cwarn23
0
214
Member Avatar for rams111
Member Avatar for nayak
0
282
Member Avatar for delerium12345

Your country is at war and your enemies are using a secret code to communicate with each other. you have managed to intercept a message that reads as follows: :mmZ\dxZmx]Zpgy The message is obviously encrypted using the enemy's secret code. You have just learned that their encryption method is based …

Member Avatar for subtercosm
0
930

The End.