48,986 Topics

Member Avatar for
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 …

Member Avatar for Narue
0
127
Member Avatar for reno

Hi! I need to develop a client application that will run on Soaris and call VB application running on WINN2K3 server. VB application uses an ActiveX component to access custom database and retrieve a recordset. This recordset details should be returned back to the Solaris application running on Sun Sparc. …

Member Avatar for Chainsaw
0
111
Member Avatar for dunga

I need help with designing and interface that will search keys.language of choice is C++,use of avl trees ,b-trees,The interface should allow fields to enter variables.it should be linked to a database and allow searching. :sad:

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

Member Avatar for alc6379
0
116
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.

Member Avatar for jasweb2002
0
73
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 …

Member Avatar for Narue
0
308
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 …

Member Avatar for skamen
0
99
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; …

Member Avatar for Narue
0
134
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, …

Member Avatar for Narue
0
867
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 …

Member Avatar for Narue
0
213
Member Avatar for stefanusr
Member Avatar for Narue
1
148
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 …

Member Avatar for Narue
0
138
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 …

Member Avatar for cosi
0
3K
Member Avatar for coolmel55

:eek: I have revised my program and am getting a run time heap error. Any ideas on what I need to fix? [code] #include <iostream> #include <assert.h> #include "rectangle.h" using namespace std; CRectangle::CRectangle() { size = 0; pointArray = new CPoint[size]; } CRectangle::CRectangle(CRectangle& R1) { size = R1.getSize(); pointArray = …

Member Avatar for Narue
0
84
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, …

Member Avatar for auchewie
0
81
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 …

Member Avatar for dontcare
0
133
Member Avatar for Thilini

:?: Tell me how to create a C++ program using ADT to represent the (X) player in a tac tic toe game. The computer programs opponent would be the (0) player. The Program must be created representing (x) player should never loose.

Member Avatar for Narue
0
70
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!

Member Avatar for letmec
0
124
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 () …

Member Avatar for Narue
0
100
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 …

Member Avatar for alc6379
0
95
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 …

Member Avatar for Pietro
0
86
Member Avatar for sumit

[COLOR=Red]red[/COLOR] i have problem with execute the program with the various interrupt in funtion int86() & int86x() please tell me short how his work?

0
78
Member Avatar for dcving

// Program 2.25: Distance an object travels in miles // and time it takes to travel that distance // Author: Eric Martin // Date: 9/30/2004 #include <iostream.h> using namespace std; int main() { int distanceInMiles; int speedInMPH; int timeInMinutes; cout << "Computes time to travel given distance and speed" << …

Member Avatar for Narue
1
168
Member Avatar for Subhasish.roy

Hi, I am Subhasish,a newly joined member of this forum. I have problem, with series60 developer platform for symbian,using C++ API. Here it is in details. I wants to develop a DLL using C++ bluetooth API.And also a suitable GUI for it,for Symbian.But i am new in it.So anybody who …

0
102
Member Avatar for wewe

C++ - deals with list Assginment given: Consider a slight variation of the pointer-based implementation of the queue ADT. In this variation, the queue uses a circular linked list to represent the items in the queue. You must use only a single tail pointer. Construct the implementation of such queue …

Member Avatar for alc6379
0
183
Member Avatar for coolmel55

I'm very new at this but I'm getting some weird error: unexpected end of file while looking for precompiled header directive I don't have much yet but here it is: #ifndef RECTANGLE_H #define RECTANGLE_H #include <iostream> using namespace std; class Rectangle { public: Rectangle(); //constructor ~Rectangle(); //destructor Rectangle(); //copy constructor …

Member Avatar for coolmel55
0
449
Member Avatar for JECMAIL

I have to build a C++ code that accepts 4 separate Hexadecimal inputs and returns in English the human readable for a set of machine code instructions. I can either get my program to accept characters or integers. At this time I have my program set to work on integers …

Member Avatar for Narue
0
169
Member Avatar for HinJew

Hi, as I posted earlier, what I need to do is get a user to input the temperature in celsius (and if input in farenheit, convert it to celsius first) and the windspeed, and have the program calculate the windchill. I have one error in line 88 of the program …

Member Avatar for coolmel55
0
113
Member Avatar for wewe

C ++ reading a textfile into linked list text file: Humpty Dumpty sat on the wall Humpty Dumpty had a great fall all the kings horses and all the kings men could not put Humpty Dumpty back together again --------------------------------------------------- the idea is to read in this sentence into a …

Member Avatar for coolmel55
0
101
Member Avatar for coolmel55
Member Avatar for coolmel55
0
298

The End.