132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for randev

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++
Member Avatar for h3rtz
0
177
Member Avatar for Ghost

I don't understand constructors. Can anybod help? The question is: You are given

Software Development java
Member Avatar for Ghost
0
88
Member Avatar for hansamurai

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 …

Software Development algorithm c
Member Avatar for Narue
0
117
Member Avatar for potential

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++
Member Avatar for Narue
0
312
Member Avatar for the b

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++
Member Avatar for ZuK
0
189
Member Avatar for rational611

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
Member Avatar for ibcoda3
0
151
Member Avatar for wangstarr

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++
Member Avatar for h3rtz
0
181
Member Avatar for tonja1196

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
Member Avatar for tonja1196
0
110
Member Avatar for dooda man

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

Software Development c++ display
Member Avatar for FireNet
0
134
Member Avatar for dianathomas

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 …

Software Development java oracle
Member Avatar for dianathomas
0
175
Member Avatar for Hjcooke

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
Member Avatar for Hjcooke
0
265
Member Avatar for freesoft_2000

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
Member Avatar for cosi
0
170
Member Avatar for KCC1982

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
Member Avatar for cosi
0
200
Member Avatar for NJR

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 …

Software Development display java
Member Avatar for cosi
0
163
Member Avatar for OurNation

Is it possible to make a timer that counts down to a cerrtin day and time also is it possible to make it display some where but not in the way

Software Development display java
Member Avatar for cosi
0
184
Member Avatar for raneka17

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
Member Avatar for raneka17
0
171
Member Avatar for hopeolicious

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 …

Software Development c++ display email ios
Member Avatar for Narue
0
131
Member Avatar for aviral82

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
Member Avatar for alc6379
0
219
Member Avatar for aviral82

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++
Member Avatar for alc6379
0
119
Member Avatar for plasmafire

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
Member Avatar for plasmafire
0
173
Member Avatar for server_crash

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
Member Avatar for felgall
0
138
Member Avatar for BrownSuga

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
Member Avatar for BrownSuga
0
112
Member Avatar for tkeineetse

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++
Member Avatar for jasweb2002
0
76
Member Avatar for dooda man

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 …

Software Development c display
Member Avatar for Narue
0
372
Member Avatar for dcving

// 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++
Member Avatar for Narue
0
321
Member Avatar for skamen

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 …

Software Development algorithm c++ display
Member Avatar for skamen
0
103
Member Avatar for Sphyenx

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
Member Avatar for Buff
0
175
Member Avatar for grifflyn

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
Member Avatar for server_crash
0
243
Member Avatar for Sheryl

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
Member Avatar for alc6379
0
122
Member Avatar for Minky

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
Member Avatar for alc6379
0
85
Member Avatar for joebanks

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
Member Avatar for joebanks
0
156
Member Avatar for Narayan

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++
Member Avatar for Narue
0
148
Member Avatar for jags

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, …

Software Development c++ display
Member Avatar for Narue
0
885
Member Avatar for nicoletonyf

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
Member Avatar for Narue
0
214
Member Avatar for sharmrkf

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++
Member Avatar for Narue
0
145
Member Avatar for ninthwondernj

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 …

Software Development c++ display
Member Avatar for cosi
0
3K
Member Avatar for rishiraj_bayerd

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
Member Avatar for cosi
0
161
Member Avatar for tejasmehta

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
Member Avatar for cosi
0
157
Member Avatar for Erica

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
Member Avatar for Narue
0
310
Member Avatar for eboney

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 …

Software Development java video
Member Avatar for Banderson
0
103
Member Avatar for auchewie

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++
Member Avatar for auchewie
0
85
Member Avatar for dontcare

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
Member Avatar for dontcare
0
142
Member Avatar for NJR

: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
Member Avatar for NJR
0
99
Member Avatar for ellas747

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
Member Avatar for Narue
0
1K
Member Avatar for coolmel55

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++
Member Avatar for letmec
0
129
Member Avatar for bluegoo06

* ** *** **** ***** 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++
Member Avatar for Narue
0
114
Member Avatar for chris_18

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++
Member Avatar for alc6379
0
102
Member Avatar for freesoft_2000

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
Member Avatar for cosi
0
110
Member Avatar for Pietro

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++
Member Avatar for Pietro
0
94
Member Avatar for Ivan Ruiz

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
Member Avatar for HokSun
0
126

The End.