|
From: Jay S. <mys...@op...> - 2002-04-13 10:42:09
|
Typos. I saw two places where you typed in "Item" as "item" and I'm guessing that's your problem as in C++ everything is case-sensitive.
Jason
----- Original Message -----
From: Danny Austin
To: dev...@li...
Sent: Friday, April 12, 2002 10:40 PM
Subject: [Dev-C++] ?Got Errors?
struct Item //used to store a single itme from the store
{
string name;
int price;
};
class Store //used to handle everything to do with the store
{
vector<item> inventory;
vector<item> forSale;
|