-
January 30th, 2004, 03:53 PM
#1
worksheet like feature in C++
Can someone point me in the right direction to be able to:
Create a worksheet in a Visual C++ application
The problem is for a construction estimating program
I need to be able to add elements to the worksheet (eg. lumber, roofing material, etc...)
Then be able to input amounts, price per unit amount, etc
And have the total price updated for each item line
Would an array of classes be appropiate??
class constElement
{
char item;
char numberOfItems;
double pricePerItem;
.
.
.
.
Thanks for any advice
-
January 30th, 2004, 07:59 PM
#2
When you say "worksheet" do you mean something like a spreadsheet? A spreadsheet is a general-pupose thing. You probably want to develop something that is much more specific. The disadvantage of a specialized application is that they are less flexible; the advantage is that the processing is pre-determined and therefore is easier to use to do the things they are developed for.
You can save a lot of time by deciding (designing) what the application needs to do. The better tyou do that, the less time you might need to change your program. You will likely have data that needs to be stored somewhere, such as a database. That can be a very important area to design. Then decide what the user interface could be. Then decide how to do that.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|