Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~170 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for Arizal

{ #include "stdafx.h" #include <iostream.h> #include <stdio.h> #include <string.h> class inventory { private: int prodID; char prodDescription[20]; int qtyInStock; public: inventory()//default constructor { prodID=0; strcpy(prodDescription,"-"); qtyInStock=0; } inventory(int a,char *b,int c) //constructor that initializes a new Inventoryobjects with the values passed as arguments { prodID=a; strcpy(prodDescription,b); qtyInStock=c; } }; int …

Member Avatar for Schol-R-LEA
0
170