User Profile
Collapse
-
Thanks for the help.... -
Need help on the display total value of all item
Hi, I've this function in a class to update the total value.but when i try to remove the these row highlight in Bold it crash, what should i do????
void display_total_v alue()
{
double value;
double totalvalue=0;
int r, c;
setcolor (11);
for( r=0; r<row; r++ )
{
for( c=0; c<col; c++ )
{
if(warehouseshe lfTVs[r][c]... -
Hi, i still can't figure out how to capture the total cost of the three different item and add up the total. Please help me.... need to submit it by wednesday. thanks...Leave a comment:
-
for the display total item, it can add up all but not for the total value. how can i ask the programme to go to the item classess to capture the cost of the item for each indivual tv and multiply it to get the total???? thanks[
QUOTE=horace1]I only modified update_shelfs() and display_shelfs( ) and the code which called them, i.e. options 1, 2, 4 and 5 now appear to do something. If they do what you require you now need to look at...Leave a comment:
-
thanks for the help, but how come it can't display the total amount for the tv??[
QUOTE=horace1]done a few mods to add item to shelf and display same - not sure if this is what you require???
Code:#include <iostream.h> #include <iomanip.h> #include <string.h> #include <process.h> #include <cstdlib> #include <windows.h> #define row 4
Leave a comment:
-
I've done up the programme, need help to fine tune it, as the shelf classes cannot receive data from the item classes. my shelf classes need to capture the item no and cost of the 3 TV items. Thanks for the time in viewing
Code:#include <iostream.h> #include <iomanip.h> #include <string.h> #include <process.h> #include <cstdlib> #include <windows.h>
Leave a comment:
-
Hi, i have done up my programme, need ur advice on how can i capture the tv classes data and put it to the shelf. is there any way i can sent the code to u?...Leave a comment:
-
how to put classes into a 2d array
Hi, my programme using visual C++ need 3 classes, 1 for 'item tv', 1 for 'shelf' and the other 'warehouse'. The 'item tv' class will update and display the item number, description, cost and qty of 3 tv. The shelf will capture the item no. and qty of any of the 3 tv of the "item class " and ask where to put the item in the 2D array. It will then display the 2D array, add up the total qty and the cost. The warehouse class will have a address...
No activity results to display
Show More
Leave a comment: