132,726 Archived Topics
Remove Filter ![]() | |
Last week I asked about this so I tried to write another example to try it out. I have a Line class which needs to have and members of type Point and member functions that return type Point. The Point class needs to have member functions that return type Line … Software Development c++ | |
Hi, I'm trying to create 6 buttons in a for loop using tkinter, each button's command points at the same function, but passes a variable (the loop counter.. in this case i) now for some reason.. when i run it, and click on each button, the function is supposed to … | |
this my proj.. i need to do a program that will display the names in file.txt into jlist please help me with this... and i need a button for save,add new,cancel,and close.. after the names displayed in the list..when it clicked,,it must display its corresponding address,and contact number...thanks..hope youll help … Software Development java | |
Hi all, In graphics mode, I need to read hexadecimal value from a file and assign it to variable for which i can add other value later. Eg : I need to read value 1007(hexadecimal) from a file and assign it to a variable. Later when i add 3 to … Software Development c++ | |
Hello VB Experts, Can anyone show me how I can sort items in a datalist alphabetically? I bounded the data using ADODC and Microsoft Jet 4.0 ole db connecting string. I would appreciate it much if anyone could help me solve this problem. Thanks in advance Software Development visual-basic | |
I can't get this to compile. It is for a homework assignment. The program asks user for 5 test scores and is to display letter grade and average test score. I was able to get the calcAverage method to work, but after adding the determineGrade method, I end up with … Software Development java java-swing | |
The following is the program I wrote, but the result is not what is required exatly. Somebody please point me out to what I am doing wrong. The question: > Write a Java application that reads an integer value between 0 and 100 (inclusive), representing the amount of a purchase … Software Development java | |
Hi guys, Im kinda new here and I'm looking around for some ideas regarding my current project. It's all about file restoration of deleted or corrupted files for Pen Drives. Im currently working on this project from completion of my college degree. Hope you guys can help. I haven't started … Software Development visual-basic | |
I have the following sql statement in VB6 (latest VB SP, Win XP, SP2) that works fine in ado to sql server 2k5 but does not work in ado to access 2k3. [B]"Select ID, Make, Model, PlsPerBBL, Size, Processor, Location, From MeterData Where MeterNo = 'FQ-805 8" IN'"[/B]. I know … Software Development sql visual-basic | |
The following piece of code is supposed to add html spaces in place of leading spaces. /** * Finds all leading spaces on each line and replaces it with * an HTML space ( ) * * @param s string containing text to replaced with   * @return the new string … | |
i want to get all running process... how a can do this? anybody know how to do this? please help. thanks in advance... Software Development visual-basic | |
Could someone please why do we say that the syntax of enhanced for loop (for-each) in java in streamlined. Also, my java compiler does not compile programs containing the enhanced for loop. It gives errors like: for(int x:collection) { } ^ ; expected Could someone suggest solutions to this? Software Development java | |
Hi all, I am fairly new to java, as well as netbeans, but I come from a VB background. I am wanting to build platform independant aps and find the need to cross over into this world of Java, and netbeans (so far) is the best visual ide I have … Software Development gui ide java java-netbeans java-swing | |
Hi all Is there anybody who can solve this problem? This is not a easy problem. Problem: Assume that George(S,X) is a function that returns a Boolean value, where S is a stack, and that the time complexity of George is O( log |S| ) , where |S| is the … Software Development c++ | |
I am getting compiler output that makes me think I have some sort of syntax error like a missing ';' or misaligned (). But I've checked my code thoroughly and can't find anything wrong. What else could cause this kind of error? I included the compiler output along with my … Software Development c++ | |
Hello Everyone. Project outline: [QUOTE]I've to make a project which is the following: I'm a Car Distributor that distributes(sells) cars to different Car Dealers I should have a stock class with all the different types of cars I have ej(Toyota: 100, Mistubishi: 220, etc...) each type of car should have … Software Development c++ database-design | |
I'm self studying from the book, C++ Primer Plus Fifth Edition, by Stephen Prata. The following relates to Chapter 13, Page 699, Programming Exercise #4. One task is to write the derived class method definitions based upon the given prototypes. The following are the said prototypes. [CODE="cpp"]class Port { private: … | |
I cannot compile my programming..abnormal programming..anybody whi knows where is my mistake? [code=C++] { int count, k; { count=0; myfile<<"i,j|"; for ( int i = 1 ; i < students.size (); i++ ) for ( int k = 1;k<students.at(i).examcode.size(); k++ ) { count=0; for (int colHead = 1; colHead <students.at … Software Development c++ | |
Is python provide search in parent folder contain subfolders and files for example folder name is cars and subfile is Toyota,Honda and BMW and Toyota contain file name camry and file name corola, file name honda contain folder accord and BMW contain file name X5 Is there way to enter … Software Development file-system gui python tkinter user-interface | |
How can I declare the txt.InitialValue.text, txtSalvageValue.Text and TxtAssetLife.Text part of this code? Thanks in advance for any help. [code] msngInitialValue = ToSingle(txtInitialValue.Text) msngSalvageValue = ToSingle(txtSalvageValue.Text) mintAssetLife = ToInt32(txtAssetLife.Text) [/code] Software Development vb.net | |
I am wanting to produce a number matrix which will result in displaying the numbers in chronological order. For example, if a 3 x 3 matrix is desired, the output would result as such: [[1,2,3],[4,5,6],[7,8,9]] The first part of my code can produce the initial list. However I am unsure … Software Development python | |
We're learning about functions in Intro to C++ and a problem is telling me my getInput() function is supposed to "get the user's weekly payrate" but at the same time it also says "remember the getInput() and displayInfo() functions are void." How can I get input if there the function … Software Development c++ | |
I've been trying different things all weekend trying to figure out what is going on here. If I log in to my server via a PC and telnet, it comes through just fine. So I know it's my code here is messed up. Here's my code [CODE] while(1) { mbstowcs(CHAT," … Software Development c++ | |
Can an Interface file contain multiple classes? If so how would one implement this interface file (what specifications do you need to use to specify which class you are using)? If this is not legal or is a bad programming practice then please explain why. Thank you, Arielle | |
I'm showing a directory listing in one page now, but I want to show it in pages. Currently I'm working like this: [QUOTE]gtsee.com/cgi-bin/nph-dirsub.pl?invoice=invoices/merchant_invoice_999999 [/QUOTE] and the script for showing the listings are: my $sql=SELECT id, name, url FROM free_dirs; my ( $id, $name, $url) = @{$db_row}{qw/id name url}; print " … Software Development perl | |
Thank you for your advancing helping. I do have a problem in how to encode a bank account that has : 1. account number,user name , intial deposit and balance (updatable) 2. that a specific user can see his balance 3. a user can withdraw money 4. a user is … Software Development c++ | |
Part I True/False ( 40 points , 2 point each) 1. If you have created an exception class, you can define other exception classes extending the definition of the exception class you created. 2. Using the mechanism of inheritance, every public member of the class Object can be overridden and/or … Software Development data-structure gui java | |
hey I'm trying to run this program on netbeans on Ubuntu #include <windows.h> #include <GL/gl.h> #include <GL/glext.h> #include <GL/glu.h> #include <GL/glut.h> void myInit(void) { glClearColor(1.0,0.0,0.0,0.0); glColor3f(0.0f, 0.0f, 1.0f); glPointSize(9.0); glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluOrtho2D(0.0, 640.0, 0.0, 480.0); } //<<<<<<<<<<<<<<<<<<<<<<<< myDisplay >>>>>>>>>>>>>>>>> void myDisplay(void) { glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_POINTS); glVertex2i(400, 350); glVertex2i(100, 130); glVertex2i(150, 130); … | |
how do I Write a function call WelcomeMsg which displays the message "Welcome back! I wish you have a great Spring Break". Then write a calling statement for it? Software Development c++ | |
Hi I am looking for an open source Java project such as (NotePad, Html Editor... etc) which consist of around 10 classes. I searched within source forge and I don't find a suitable one. I'll use this project in something called (Refactoring) which enhancing the code. This is not a … Software Development engineering java open-source | |
Here's a fairly simple piece of code to get a message from the user, limiting its length to 10 chars. Problems arise when the message is 10 chars or more, and the program enters an infinite loop. I think the problem is getline() leaving somethin on the stream, but I've … Software Development c++ | |
im in new to c, i did this is some program and i used the math library, but i was wondering how is the math library available within the the system? and how can we find the names of the files that correspond to that library? Also, i read something … Software Development c | |
I am a beginning Prog Logic and Design student. I have a project to write pseudocode and draw a flow chart to do the following. From an Alumni File I have the following fields Alumnus Number Alumnus Name Year Graduated Major I want to get all Alumni With a Major … Software Development | |
hello! I want to know about string tokenizer. i have a file of the following format:- Studentname StudentID Studentgrades each is separated by a tab. and the size of the file is unknown. I have to read each line using string tokenizer..Well, i dont know much about this, can someone … Software Development c++ | |
Dear Friends Hope all of you doing well with Java, I am new in the field of JAVA, But I am highly expecting an answer & your help that from where I can get skill test questions for simple simple code,,,,,,suppose codeing for prime number. Wish you all best. and … Software Development java | |
I am an absolute beginner and a bit desperate. I found some answers to my question on google, but they are formulated in a way that is not very explanative and simple. I have a mainform (form1) and a custom made dialog (form2). Form1 has a ButtonAddString and a Label1. … Software Development | |
Hi all, just a quick question.... is there ever a need to implement an infinite loop? in what situations would it be a good idea to use one (if any)? thanks for your time! Software Development java | |
Hello, I would like to apply object-orientated programming in C++ to sets of 3D images. I would like to do 4 classes: -dataset:an array of 3D images, contain the nb of 3Dimages as an object -3Dimage:an array of 2D images, contain the nb of 2D images as an object -2Dimage:an … | |
I am not able to understand why in the following program it is mentioned in my book: The value of ~a is ANDed with 0x0f (0000 1111) in binary in order to reduce its value to less than 16, so it can be printed by use of the binary array. … Software Development java | |
Is the only way to stores strings as a variable in C++ is by having an array of type char? Software Development c++ | |
hi every body.... i need little help regarding project which we have to made in C++..... can someone guide me tht which type of topices can selected...... i am very much confused....:S Software Development c++ | |
I'm trying to create a program where it takes the first character of the Last name and place the person in a group due to the name. I tried comparing the words to numbers i.e. a=1, s=19, etc. any help at all would be appreciated [code] package GroupAssignment; import System.*; … Software Development java | |
Hi all, I would like to know in what situation template is used instead of inheritance and vice visa. examples are appreciated. I just know template is static binding while inheritance is dynamic binding. so if speed is concern, template is better. Software Development c++ | |
Hello everyone, I'm doing an assignment on VB.Net about cloning labels. I want to write a program of a form with a label. When the program is being run, the form will load with other 99 new lables which are being cloned. Each of which will have the same properties … Software Development vb.net | |
i am writing a c# program where i want to get only a single row per day.the database just has 2 fields 1)title 2)Message now i want to retieve and display only 1 message in the textbox and the database should automatically get the next row as soon as the … Software Development | |
First of all, forgive the corny title, I couldn't resist once I thought of it. ;) I have a small assignment for a statistics class that had been giving me a little bit of trouble. How we did the assignment was left up to the students since it is a … Software Development c++ | |
i need to bind socket address and port for ipv6 programming... i canoot able to bind global ipv6 address by using normal bind command.... help me to bind ipv6 address and port number Software Development c socket-programming | |
I am trying to write a command line bash script that will allow you to send mail to an email address using some variables. The email is a signup form with username and passwords. The subject line and most of the body will be hard coded. The script should ask … Software Development email shell-scripting |
The End.