199,114 Archived Topics
Remove Filter ![]() | |
i have some dobut i will be oblise if u will help me my doubt is that can we make one class into another class n if it is posible than happend in folling case. 1 if i have nested calss then can i call method of iner most calss … | |
I want to search a name in my doubly linkedlist and remove it. I used strcmp(string1/string2) to see if the data part of the current node is the same as the data im looking for or not.but it didnt work. what can i do? [CODE] class node { friend class … | |
I would like to know how to read a value from the registry. And store that value in a variable... I use Bloodshed ide and ?mingw? compiler, NOT visual c++ so please do not give answers if they only apply to vc++. | |
Hi I am working in asp.net with C# web application, I have used visual studio 2003, i have used dropdownlist in my application to populate the data from mysql database, i have got problem while i selected the item from dropdownlist, its not selecting correct item i'm selecting from dropdownlist, … | |
Hello~ I'm working on a project in which we are suppose to create our own class seperating the class and the implementation. When i try to compile the .cpp file im getting 2 errors on line 10: 1. new types may not be defined in a return type and 2. … | |
So here's the deal. I learned to program with python, and C# is my second step up the ladder. I'm currently learning the language by making a Sudoku game (just porting over the code from python..nothing fancy). So I ran into a dead end just now...I know how to manipulate … | |
hi, nu member hir, just hav some question regarding this output: [code] 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 [/code] numbers that are alligned with 1 are 3 5 7 9 1 3 5 7 9 these are the middle numbers... does anybody know how to do … | |
hello....... i have a table that stores the quantity , unitprice , total values in the text fields......... actually this total column should be calculated automatically...when i use a onFocus function on tht text field i.e total=qty*unitprice ....... this code works fine when the text field in all the rows … | |
I have 3 files that i have included in a project(class,implementation,program) The program will not compile. it says system can not find specified file. Should i save all these files in the project folder or ... . It's my first time using project to write a class and all that. | |
I am making a lunar lander game, i have made the class and implementation file, but have no idea how to make the altitude reduce by the formular. Alt = time * velocity Could you also help me out with how to make time pass through the game, no idea. … | |
Hello, Please help me! I have stored values ( many types of variables) in an arraylist. They are values of linguistic pattern, trigger word, relevant count, irrelevant count and total count , relevant rate, rank. Their length is different from one to another. For example, linguistic pattern may be such … | |
Hi again. I hope you guys don't think that I'm not trying or am lazy due to all the questions I'm asking here. Does anybody know the KeyChar arguments for the Del and Backspace buttons? I need to put them in a KeyPress event Also, I'm confused as to how … | |
How do I call JAR which is in same folder as my java file? BUT I don't want to place this JAR file into JRE>lib>ext and also I don't want to create CLASSPATH for it. | |
Hi all :) hehe sorry .. lol 1st of all iam new here :) ... and i really liked this site its very informative :) .. and iam sure i will enjoy being a member here.. before when we do a site we choose the database access but this time … | |
ive designed a GUI for a vending machine, but i have know idea on how to do one thing i need help calculating the users change the user types in e.g. 100 for coffee the cost of coffee is 60 and then the change appears in a new window i … | |
Ok I have just finished the coding for this [CODE] 'This is sub for when 5 is selected Sub avg5 'Open comma delimited File open "d:\Assign.txt" for input as #assign Input "Please Enter a students ID ";stuid$ while eof(#assign)=0 Input #assign, id$,nme$,dob$,sub$,scr If stuid$=id$ then totalscr=totalscr+scr nostud=nostud+1 If nostud=1 Then … | |
PQPZ3.DATR.QRL.R9529.D090295.T19501.das.1333332287722.1.2.err I have AIX so I can't use rename hopeing for something easier but I need to find all the files in the directory and then any of them that have a .err on them I need to be able to rename them back all the way to the .das … | |
Hello! Help!!!!!!!!!!!!!!! How do I print in QBasic. I have tried opening it (the program code) in note/word pad but it comes out in funny characters. What can I do?? Any advice will be appreciated. Thanks. | |
Hi all, I need ur help.. Actually I have to read the data file which containing character and digits. I need to converts some characters into digit. The data file is like: A11111 B22222 B33333 B4444 A55555B66666 B77777 So far my programming is like this: [code=c] #include <stdio.h> #include <stdlib.h> … | |
Hi I have a sequence that I want to put into a seperate function: The variables I want to take into that function and back to the main function are declared globally. declaring the function and the testing variable: [code]void sanction (); int test[10];[/code] my main function: [code] int main(int … | |
cant seem to read from this my file "d.txt", i know this is quite simple code but its just not working, and yes file "d.txt" is in the same directory as the .cpp & .exe [code] #include <fstream.h> #include <iostream.h> #include <stdlib.h> int main() { char ch; //int check = … | |
hello everybody! i'm not good in english. i have a problem with assembly language. my teacher not teach me anything but he give me a homework. if i miss this homework ,i will fail in examination. i want someone to help. i want code in assembly language( file.asm ) code … | |
I am new to c++ and i dont know where to start from and how to get materials on c++ from any site or member. thanks in andvance | |
Hello once again... I have the sidebar and the header common in all the pages which are made in PHP.. The sidebar and the header are in an html.. But when i include them in my current pages(the one made in PHP) than the style sheets of both clash and … | |
I have a problem - to copy a string from a vector and put it into another vector. It's ok if i use a string variable, where this variable will be used as a temp variable between these vectors....But i do not know what is the best approach to copy … | |
I have a class MyDataGrid which is inherited from Datagrid which have two protected override functions. i want to register the events. for example public class MyDataGrid : DataGrid { protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e) { //dosomething } protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { //dosomething } Now i want to … | |
hi am new member here... can anyone give the code of this..i've tried to figure out the code to finish this but i cant......pls help me..... here is the output of my case study Enter amount of Loan: 5000 Enter Interest: .10 Enter terms(month):10 550 445 440 435 430 425 … | |
I wrote a program with classes. When in one file it works fine. But when i split them up into three the main program won't read the other two WHY? .H FILE [code=cplusplus] // FILE w.h #ifndef LUNAR_LANDER #define LUNAR_LANDER class lunar_lander { public: lunar_lander(float);//, float, float, float, float, float, … | |
I am coding a class project where I will have a basketball league. The league will include 3 divisions and each division will have 5 teams. Each team will have a number of players and one coach. I must have 5 seperate classes. I already have two classes called person … | |
im writeing a mud rpg game in class and i need some examples of combat systems. ive jest started programing in C++ and im in way over my head so if anyone has some examples i would be realy grateful thanks. | |
I could show code, but there be no point here. All I wish to know is, when someone types a certain string in, can i make the program start a download when they press enter after the typing? something like this- [all var's are already declared] [f3 = what they … | |
Hey! I have a few questions about Delphi... Is there a free compiler / interpretter for Delphi (if any, which) and / or an IDE? Is Delphi easy to learn, or hard? I mean, I know plenty of languages (C, C++, Java, Perl [some], HTML, Javascript, Ruby, VB6 [woot], Python...) … | |
I want to set the width of the column by hardcoding it and don't want to allow it to resize at runtime. i.e. don't allow user to resize the column width. How can i do this? I have tried this code public void SetColWidth(DataGridTableStyle ts1,int colNum,int width) // { // … | |
My main has an unexpected end to the file and i am having problems finding the error. can anyone help? It also says where "case 81" is that i already used it but I have not. [code] void main () { HANDLE hOut; COORD NewSBSize; SMALL_RECT DisplayArea = {0, 0, … | |
Hi all, I am doing a Conversion rate program. The outcome is always O instead of the rate. I have arrays... I think the problem is in the echo line with my variables. can someon take a look and let me know? code is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 … | |
Hello, my prof gave us a problem from the ACM programming contest, we are supposed to write a program that takes a compressed file as input and generates a reproduction of the original uncompressed file as output, the compression scheme requires making a list of the words in the uncompressed … | |
I have a dynamically creasted grid of picture box controls, and I want to add custom events handlers to them and Im stuck. Event 1: User Enters with mouse Event 2: User Leaves with mouse Event 3: User Clicks with mouse btw, they're created when the form they are on … | |
I've been working on a program (nothing big, or anything) and there are some things I'd like to work (That has nothing to do with the fact that there supposed to work :) Problems: 1 - Screen won't clear (This seems to be the most frequent question about c/c++ "ms-dos" … | |
[B]No one seemed to help me out with my other question :sad: so was wondering if you can help me with this one. I want to validate a date so that the user is only allowed to enter a correct date. I have no idea how I could do it … | |
Hi all, My class uses Python 2.4.3/2.4.4, pygame 1.7.1, and a livewires wrapper on top of that, running on WinXP on Dell machines. Frequently ... perhaps once per day per 2 students more or less? ... a student will attempt to open a file and IDLE will suddenly quit and … | |
This is my code, I'm thinking to update the instance variable m, so that I can update my array1[m].. does anyone have suggestion? please help thank you [code=java] private int m; private int n; private int array1[] = new int[m]; private int array2[][] = new int[m][n]; public int Init() { … | |
i have a problem in trying to link my listbox with its respective field in the database. when i run my program in vb6, i get all the other records populated into my form when i click on the ADODC but i couldn't get the info i entered in my … | |
I'm trying to display text on GlassPane in front of image which I read in. There is no problem with image which does display but my text doesn't appear. What is wrong???? [code] import java.io.File; import java.io.IOException; import java.awt.*; import java.awt.image.RenderedImage; import javax.swing.*; import javax.media.jai.widget.ScrollingImagePanel; import javax.media.jai.NullOpImage; import javax.media.jai.OpImage; import … | |
Can anyboby help me i really dont get the feeling of big o notation, i just want to understand it. | |
Develop a [URL="http://www.daniweb.com/techtalkforums/thread311.html#"]program[/URL] that will determine whether a department-store customer has ex-ceeded the credit limit on a charge account. For each customer, the following facts are available: a. account number (an integer) b. balance at the beginning of the month c. total of all items charged by this customer this … | |
Could some one please help me the definition of "Break apart" in reference to using Macromedia Flash; I have just begun using Macromedia Flash 6.0 and have been studying tutorials to get the basic, introductory feel of it. At one point it calls to use break apart for a JPEG … | |
Hey everyone, I need some advice. I have a simple user form. Name, email, comments, blah blah blah. Currently for error checking, in my code, if the user inputs something invalid or doesn't fill out a required field, I redirect them to another page that tells them the error, then … ![]() | |
Apparently the ewase of programming has disappeared when I stopped using python. [code="C#"] btnPlay.BackgroundImage = Image.FromFile("\\Images\\playbtn_down.jpg"); [/code] Now I have the image in a Images folder...and I don't see why this doesn't work (from build [F5]).... this is making me very bitter......It's one of the many problems I've encountered since … | |
ok need a bit of help. got a program to set up football league table and input all the scores etc etc just tryin to figure a way to add scores and that from there, also the display code seems a bit messy anyway i can put it into a … |
The End.