132,726 Archived Topics
Remove Filter ![]() | |
hello, i need to hand this in this week, someone please help me :p I need to do the followings: 1) allows user to add a new property to the collection 2) allows user to remove a property from the collection 3) allows the status to be changed from for … Software Development c++ | |
[php] #include <iostream> #include <cstring> using namespace std; class date { public: date(int = 1, int = 1, int = 1990); //constructor void Printdate(); void setday(int); void setmonth(int); void setyear(int); void setdate(int, int, int); private: int day, month, year; }; date::date(int d, int m, int y) { setdate(d,m,y); } void … | |
hi...i am really facing a problem in printing a "binary search tree which does an inorder traversal and searches for a node and insert a node"....so i have written a program for that but it doesn't print a binary search tree and is giving some strange grabage values i don't … Software Development c | |
Hello i am writing a program and i really need help. here is what the program is about. 1. It needs to ask a number of tickets sold. 2. persantage which goes to some other coast. This input will be entered in percent format. program must convert this to a … | |
"Invalid procedure call or argument" As I try to remove an item from a listbox call List1 I try this code... If List1.List(i) = List1.List(i + 1) Then List1.RemoveItem (i) if the list contents are identical, remove one of them but it doesn't work! Software Development visual-basic | |
Hi, I am writing a couples class, one base, and one derived to track an employees pay records. It has a static private ptr array to store Employee and EmployeePay objects. [CODE]static Employee* empArray[];[/CODE] Employee has first and last name, ssn, id number and a date. EmployeePay derives from Employee. … Software Development c++ display file-stream | |
each time i put my Sims cd in my disk drive this message always comes up: Microsoft Visual C++ Runtime library Runtime error! program c:\Program Files\Maxis\The Sims\Sims.exe Abnormal program termination I have a windows 98! Do you have any ideas to fix this problem? Please help me :-| Software Development c++ microsoft microsoft-windows | |
[size=2]Hi I just started a new website kind of lame but that will be picked up soon.Ok here is the question did not know where to post it so I am posting it here.It is this: I am trying to make a users immmm how to called it comment box.You … Software Development first-post java | |
I'm supposed to write a loop to loop through the days, the write a switch statement for the verses. The program should print out just like the song goes. For example: On the 1st day of xmas my true love gave to me, a partidge in a pear tree On … Software Development java | |
how the hell do you do this?! please help asap! a. This problem is similar to the problem in your last assignment. However, this time you will need to keep track of all integers input by the user. b. Create a program that will read a series of ten (10) … | |
Hi, I am making a task-manager like program and i wanted to create a pie chart referring to the free/max memory (like the pie chart u see if you right click "My Computer.") Can anybody please tell me how to do this (oh yeah, it's an application, not an applet) … Software Development java | |
Could I make two programs, but with one icon/startup so that when you click the icon, it runs both programs? Thats my first question. My other question is for something else, how can I make something delete files? Thanks. Software Development vb.net | |
I have a problem that I am not sure how to even come up with a solution. So, I was wondering if anyone would have any input to the problem at hand. I have to divide a matrix that is defined by an input file into 2 distinct regions so … Software Development c | |
I can't seem to remember how you create subitems in the menu's. Does anyone know how? Like this: Format --> Color(then like a drop down) *red *blue *green Software Development java | |
I have the following problem. Using 16 bit assembler code to send a character string to the screen. Following is an example: in my data segment, I have the following defined: Str1 DB 'Hello world', 10 DB 'and hello again','$' in the Code segment, i do the following: mov ah,9h … Software Development assembly | |
:) Hello Everyone...IM RAZA..from Pakistan...new member here.. Well i hav a problemm....big problem now adays/// i have a project to make an operating system....can somebuddy help me?? i dont have any idea...guide me if u can.. RAZA. [url]http://www.razasnet.tk[/url] (under construction) Software Development c operating-system | |
Hello everyone, I want to use indexing technology to speed up searching operation of my application. I have found that Java built-in type Hashtable can only have one key for each object. But my requirement is that an object can have multiple keys for an object. For example, the objects … Software Development java | |
[SIZE=2][B]TO CALL OTHER PROGRAMS FROM WITHIN OTHER PROGRAMS-[/B][/SIZE] Just include the standard c header file cstdlib (no .h!!). You can now use the function system( :eek: ). It takes only one parameter- the name of the program you want to call! Here is an example [CODE]#include <iostream> #include <cstdlib> // … Software Development c++ | |
i got the program to work without any errors before i started to try to get the sort function to work in the [B]main[/B]. function. I need to get the function call for the [B]sortIndex.cpp [/B] to work so i can sort the user output by descending order of profit. … Software Development c++ hardware-swap | |
Private Sub txtMessage_KeyPress(ByVal sender As Object, ByVal vv As System.Windows.Forms.KeyPressEventArgs) Handles txtMessage.KeyPress Dim tmdataleft As Integer Dim addby As Integer = 1 If tmdataleft = 160 Then vv.Handled = True Else tmdataleft = (tmdataleft + addby) DataLeft.Text = tmdataleft DataLeft.Update() MsgBox(tmdataleft & " ELSE --- The Variable is less than … Software Development vb.net | |
Hi! First of all i know you don't help with homework to those that are not trying to solve it themselves but I REALLY TRIED...i am Embarrassed to say but I am trying to do this for few days already and my deadline for homework is getting close and I … Software Development pascal | |
![]() | I've used "if and else" statements to test for conditions, but if's can get very "iffy" sometimes. Specially when you need to test for several possibilites. I was wondering if there is another way to do tests for conditions instead of using the IF. Just for better programming. example: tic-tac-toe … Software Development c ![]() |
I got this method that encrypts and decrypts text. All of it works fine, except when it comes to spaces. It doesn't convert the spaces correct. If you take a look at it, you might understand. [Code] import java.util.*; public class CustomCypher { public String encryptText(String key, String text) { … Software Development encryption java | |
I am having difficulty understanding the process of passing values in vb.. If you name a sub procedure (Subsum) in one event procedure can you call it in another using the sam ecaal statement? and do you have to use the same parameter(byval-byref)? I am quite new to programming Thanks Software Development vb.net | |
I would like to know if Java API has a built in shopping cart class which is readymade and ready to use. Thanks rational611 | |
I'd like to read a floating point value [b]cin >> Value [/b]where Value is declared as a double and then output it to a string justified to two decimal places. I understand how to do it using a temporary file, but I'd like to avoid that method and [b]sprintf() [/b]if … Software Development c | |
I am new to C++ and have problem that isn't adequately addressed in books and online. Say have have a program doing salaries. In this program all inputs should be numeric. If they aren't the program won't execute properly and you will never know it. Using the cin.clear and the … Software Development c++ | |
trying to write a shell script that will take any number of numerical parameters passed to it on the command line and perform addition on them...must be done in a "while" loop...have it so that it will add 2 numbers, also have it where it will print the correct sum … Software Development shell-scripting | |
I have a form with a listbox and several textboxes. When I input data in the textboxes and click the menu I have created the aircraftId should appear in the listbox and link the data form the other textboxes with the aircraftId. So if I have three AircraftId's when I … Software Development vb.net | |
[COLOR=Black][FONT=Arial]Ps I need some help with my Windows programming assignment. My instructor wants us to draw an ellipse(2D) and make it appear like a ball(3D) by applying different shades of the same color to different parts of the ellipse. By assuming any point is the light source, parts near to … Software Development c | |
I hope this makes sense... I made a program which requires authorization by username and password, once logged in it will allow you to load a program. My question is, is there a tutorial for the program being called to only open if it has been called by a certain … | |
Hello, i have done a script that is supposed to read urls from the SOURCE. When a user types in vg.no in stdin or read a file that contains vg.no it gets the last 5/6 topics from the newspaper. the problem here is that from pipe 0 to write pipe … Software Development c open-source | |
this is my first Java course and i am having troubles doing one of the assignments... well i am suppose to read a file containing grades of students...here is an example 034-23-8901 45 78 85 34 342-67-1231 98 45 67 45 452-57-2351 49 78 61 52 the first 9 digits … Software Development java | |
Hi this is tetsu here I need a little help regarding input and output. I am trying to write a program to read information from a text file as long as there is names and numbers next to them (test score numbers). For each name read, a sequence of test … Software Development c++ | |
I'm trying to write this method that takes some parameters from my text editor, and encrypt the text. I got part of it written, but I'm stuck on the next bit. I got the part where you convert the "key", but I just can't figure out what to do next. … Software Development algorithm encryption java | |
![]() | Can somebody please tell me where I should put an enumeration which will be used by several classes. [code]enum Direction { UP = 1, DOWN = 2, NONE = 3 };[/code] All of the classes have their own .h and .cpp files and at the moment I have the enumeration … ![]() |
ok i am a new programmer and am running in windows xp and 98 and am using the borland c++ builder 3, I am trying to make a window that will simply ask the user to input a string (called pathname) and store it to another file for use in … Software Development c++ windows-xp | |
Hey guys, i got this program im making. It encrypts and decrypts files. The problem is that whenever an error occurs while encrypting or decrypting ( having put a read-only file, a running program, input wrong keys, enter wrong encryption type...) the program tells me that an error occured. Thats … Software Development encryption | |
Hi, i am currently wanting to create a VBS script that will do the following in this order: run gpedit.msc then close delete the default user folder in "c:\documents and settings" delete the gpedit folder in "c:windows\system32" copy the "default user" folder from my "memory stick" to the "documents and … Software Development visual-basic | |
I need some help in trying to find out how to cast a method that is within an object which is inside a LinkedList. Let me try to explain: I already know that I have to use a wrapper to convert an object back into another state. The think I … Software Development java | |
Hi, I want to declare a function, which takes input of a set of integers and returns a set of set of integers , I tried this but, it ain't correct , plz tell how I should do what I want [CODE]#include<iostream> #include<set> #include<string> using namespace std; int Q; int … Software Development c++ | |
Please help.I am in a desperate condition. I am getting the error message "segment _TEXT exceeds 64 k" when i am linking my program in borland turboc3 3.0 compiler. Can anyone suggest a remedy for this. I have tried reducing some lines of text from my program but to no … Software Development c++ | |
Hi; Does anyone know how 2 use jni??? I want to figure out the CPU temperature. Can somebody teach me how? Thanx in advanced, C++ Software Development java | |
[B]A Little Rant[/B] I love [URL=http://www.mozilla.org/products/thunderbird/]ThunderBird[/URL], I really do. I only have one problem with it. I have not yet found an e-mail client as good as thunderbird, and every e-mail client that I have entertained have all come short of one specific attribute that I really like. You can … Software Development client-server display http-protocol ide open-source session socket-programming user-interface visual-basic web-server windows-server | |
hi, any1 knows is there any website giving free open source SIP softphone with video in C++ format? Rgds, Software Development c++ open-source video | |
If you want your BASIC progs to go on running on XP you can do any of the following:- (a) Get rid of Windows Wait 2years and CHINA will do this for you The reason Windows is a mess is it was forced to inherit all manner of conflicting protocols … Software Development google qbasic windows-xp | |
Hi, I am beginner in programming with java .. I have a silly question and I hope you help me! how to print an integer array contents without leaving new line after each digit because this happens when I use System.out.println.. I am sorry for disturbing you.. Software Development java | |
what would really be fun would be .... how to print a circle of asterisks ... i've been trying for a while and have been getting all kinds of lopsided shapes .... .... even some shapes that I never knew existed ..... :lol: Could somebody out there please help moi … Software Development c | |
I'm creating a registration C++ form and everything is working except one thing (at this point anyways). [code]private: System::Void Register_Click(System::Object * sender, System::EventArgs * e) { Username = UsertxtBox->Text; Password = PasstxtBox->Text; if ( Username == "" || Password == "" ) { ErrorTxtBox->Text = "Error in Registration."; } else … Software Development c++ |
The End.