48,986 Topics
| |
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! 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. … | |
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: | |
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 | |
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. | |
// 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 … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
: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 = … | |
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, … | |
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 … | |
:?: 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. | |
What is the difference between a method and an object? Isn't this a method? void Standard::print_results() What denotes an object?? CONFUSED! | |
* ** *** **** ***** 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 () … | |
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 … | |
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 … | |
[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? | |
// 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" << … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
how do you read in a text file char by char a store in a string? |
The End.