132,726 Archived Topics
Remove Filter ![]() | |
Hi I am just beginning to learn C++. I am using Borland C++ Builder ( free version ). I want to know is after writing the C++ commands in Note pad, how do I save it in .CPP format. CPP format is required to convert to .EXE through Borland. Notepad … Software Development c++ | |
I don't understand constructors. Can anybod help? The question is: You are given Software Development java | |
I have to write an algorithm that decides if two structs are structurally equivalent. This is more theory that real programming so pseudo-code in something that sort of looks like C would be fine. Basically I have to compare scalers, arrays, pointers, and structs. So if anyone can provide any … | |
hi! i'm trying to make a simple line editor... i have two main questions in mind: 1.) what's the syntax to make the cursor appear at the middle, or at the bottom part of the screen...or how can you print something and make it appear at a certain position 2.) … Software Development c++ | |
I'm writing a program that uses functions that I create.It hasn't been much trouble until I got to a point where I am supposed to create a function that calculates the total of everything bought with sales tax. the problem is I can't get the total which has already been … Software Development c++ | |
I would like to know how to load an run a program before windows explorer loads during the booting of Windows 98. This is similar to the loading and running of anti virus software such as Norton which load and run before the loading of windows explorer. I know this … Software Development visual-basic windows-virus | |
Hi guys, having a little problem with my first c++ course and I'm hoping someone can help me out abit here. Write a program that asks the user for a positive integer value. The program should use a loop to get the sum of all the integers from 1 up … Software Development c++ | |
I have a lab to create a loop to determine the positive divisors of an interger and then determine if the interger is a perfect,deficient, etc. I am having trouble determining how to write the statement to determine the divisors of the numbers. I believe the % operator is used. … Software Development c | |
how can i make the program display * in password entery i tried [B] while(getch()) { cout<<"*"; } [/B] but it didnt work plz tell me how | |
Hi there. My name is Diana Thomas. I am a junior Java Developer who needs a bit of help. I am trying to automatically send e-mails from my Java servlets. I am using JDeveloper with Oracle 10g. I have got the mail.jar and the activation.jar from the JavaMail and JavaBeans … | |
Hi, im using a code snippet found on this website, ylinderVolume A simplistic program to compute the volume of a cylinder when its radius and length are input via MyInput.class code snippet donated to daniweb by: cscgal ( all code snippets bycscgal ) views: 52 syntax language: java122 package … Software Development java visual-basic | |
Hi everyone, I am doing a simple program that the user is able to select whatever folders(not files) in the drive(through the argument of the folderpaste function) and is able to paste the folders (with their contents) in the the path "C:" but i think my main problem is that … Software Development file-stream java open-source | |
Hi, The following code compiles and runs fine from the hard drive but does not compile fine from a floppy disk. It gives me a cannot resolve symbol error for the DataSet dataSet = new DataSet(); line. Any ideas? The program is supposed to except user input for 4 integers … Software Development dataset display hard-drive java java-swing | |
hi, I am trying to create a 2 dimmensional array that reads data from a text file using a buffer reader and tokenizer to separate the information in the text file. As far as using the buffer reader to read from text file it seems to work but when i … | |
i'm creating a guestbook in java wherein it gets inputs(name,message) from a user then it will store this as an object. it basically works like a guestbook in webpages only that it will have a delete option. how can i do this? can anyone give me an idea please. Software Development java linked-list | |
I have to display this prrogram 3 different times using a FOR LOOP but he never showed us how it goes or where it goes I read it in my book and try many different things but nothing works its like it has to display three different people's name and … | |
hi all , i have to create an ellispe the inputs are major axis , minor axis , and the angle of the major axis the ellipse needs to be tilted. thanks aviral Software Development c | |
hi all, i have to make a rectangle in c++. The inputs are length,breadth,center point and the aspect angle. The rectangle should be tilted at that angle Software Development c++ | |
need to do the conversion as said above. eg. "one thousand five hundred" --> 1500 1500-->"one thousand five hundred" upto billion.. tried using this logic.. separate billion, million, thousnd, units..made std fn fn_conv(){ convert to hundredth place.. then store to var.. million, billion ..} then print in format.. ("%d,%d,%d,%d",billion,million,thousnd,units); but … Software Development c | |
I made a program that simulates the roll of a six sided dice. I had my program return a random number between 1 and 6. The weird thing is I get 4 like 6 out of 10 times each time I run the program. So is the random number genarator … Software Development java | |
I am writing a program that calculates the bill when buying eggs by the dozen. I have for the most part figured out most of the code but, I am getting an error message that is saying "variable price might not have been initialized. Here is the code please help … Software Development java | |
i have been asked to write a program that compute the area of a triangle using the formula Area=sqrt(s*(s-a)*(a-b)*(s-c)) where a,b,c, are the lengths of sides and 's' is the is the semi perimeter. s=(a+b+c)/2 and to compute that perimeter. Software Development c++ | |
I want the user to use the four cursors up,down,right,left. i tried to use getch() but it didnt work because the four have the same ASCII code which is 224, so i cant diffrentiate between them plz any one tell me how to make the user use them aam and … | |
// Program 2.25: Declares distance of an object // given speed in MPH and time in hours and minutes // Author: Eric Martin // Date: 10/1/2004 #include <string> #include <iostream> #include <getch> using namespace std; float main () { // Declare speed in MPH // Declare time in hours and … Software Development c++ | |
Hi, I'm working on a program that will allow the user to input an integer between 1 and 999 and display the numbers as shown by the example of inputing 3 which would result in the output below. 000 001 002 003 I've already written the part of the program … | |
is qbasic free?? and if so were can i get it? is visual free, and were can i get it and a tutorial. + will they work with win98? Software Development visual-basic | |
I have just embarked on a Java programming course and have been given a task to work out the volume of a cylinder in cubic inches with a given radius and height. and then to convert it from cubic inches to to cubic Cm's which i have done fine. My … Software Development java | |
Hi People who have this kind heart who could help me in my Java Programming Language Project.. I cannot sleep since last week coz I can't find a way how to solve my problem in Java My teacher told me to make a simple game using Java programming Application. Since … Software Development java | |
online address book to keep track of names, addresses, phone numbers, and date of births of family, friends and business associates. the program should be able to handle any amount of entries by using linked list and pointers. :rolleyes: Software Development c linked-list | |
im trying to sort through an array and i keep getting a null pointer exception when i do... can anyone see where im going wrong....thanks getreleasedate() gets the gregorian calendar date for each object in array. new CD() creates an empty array that can hold five objects public void sortByNewest() … Software Development java | |
I am storing the address of an Object in more than one entry in a vector; At the time of Deallocating the memory, I am retriving the Pointers one by one and Deleting it; The problem is that say &Obj is stored at indexes 1, 3; delete works first time; … Software Development c++ | |
C++ Help Please!!!!!!!!!!! The Question is: Write a program that asks a user to enter one of the following state abbreviations: NC, SC, GA, FL, or AL. The program should then display the name of the state that cooresponds with the abbreviation entered ( North Carolina, South Carolina, Georgia, Florida, … | |
Hello there, My program is supposed to read data from a txt file, and put this data in a 2 dimension array. All I have is the last line of data in my text file. My teacher said that I have to update the array in my loop. I have … Software Development c++ file-system | |
Hi, everyone, i am newbie to c++, but good in java, is there a way to access files in c++, i dont mean known you write in the program or write it as commnd line args. something like getAbsolutePath() in java that can show any file. thanx 4 u r … Software Development c++ | |
Ive written all of the code out and it works fine for Am times.....but when i type in a time(in military time) that is after 12 noon, the output still reads AM and not PM. Heres the code that i wrote out if someone could help me see where i … | |
Hi all, i want to know [B]how jvm works,internal architecture of jvm.....all the the technical information about jvm[/B]...Because it is my seminar tropic. Please help me......It very urgent... Thanking you.... regards Rishi Software Development java | |
I wrote web Apllication with Servlet/JSP and JDBC. I want to introduce Struts in my prev and new application. All application are database oriented, like resumebuilder, library cataloge viewer and cart application for displaying as well as shopping appliances. My main query is till now I used java core, javascript, … Software Development java java-jsp javascript xml | |
My program is reading the last line of data from an infile twice. When I execute the program, the last line of data is being displayed twice. Please Help! Software Development c | |
Hello everyone, I am trying to write a program that will list all my videos by title and also by ID# and sort titles. Also I want the user to enter a ID# and they would see what title is associated with the id #. Can anyone give me a … | |
I have a problem that I need help with. My fiancé was placed in the hospital recently and I missed the entire first two weeks of my C++ programming class. I was given an assignment that has to be completed by tonight, October 3. If anyone could help me out, … Software Development c++ | |
I'm having trouble with this program the objective is to Prompt the for a int. from 0-999, then split the int into three digits, then output the three digits from 000 through number entered using 3 nested for loops. I can get the second and last digits to work but … Software Development c++ objective-c | |
:cry: I am trying to create a 2d array that will store the information i hold in the txt file (which is in this format x,y - 45 50 36 47 60 56 etc then i am supposed to calculate the distance btn x and y and store it in … Software Development java | |
I'm having problem writing code for a program that estimates the value of the mathematical constant e by using this formula e= 1 + 1/1! + 1/2!... I just cant get this to work. Can someone please help Software Development c | |
What is the difference between a method and an object? Isn't this a method? void Standard::print_results() What denotes an object?? CONFUSED! Software Development c++ | |
* ** *** **** ***** i need to make a triangle like this for a homework assignment heres what i have so far im stuck on this i must use for loops...when i compile it all it does is end the program #include <iostream> using namespace std; int main () … Software Development c++ | |
i need help..my grade is on the line.... plss help.. i have a project.. a c banking program which consist of two programs... one is a administrator that adds, edit,delete and show the accounts and the other program is for bankers...in that program you can deposit,withdraw,and check your balance.... this … Software Development c++ | |
Hi everyone, I am doing a simple compression program in which the application uncompresses the file to a selected folder. The thing is that the file that is being compressed already exists in that folder. What i need is someone to show me a way in whic the file is … Software Development file-system java | |
hi guys i am newbie at programming as well. I have a problem in applying reference parameters.I underastand that they are aliases for other variables and they can modify variables in the original called function where as call by value parameters are just copies and cnnot modify the original variable … Software Development c++ | |
I Am A Vb On Excell User, I Am Trying To Make A Macro In Visual Basic But I Do Not Know How To Run A Msdos Comand Over Vb In Specific I Want To Excecute A "ping" Command Over A Macro That Help Me To Se If A Computer … Software Development visual-basic |
The End.