User profile: jlb

User info
User name:jlb
History
Joined:
Number of posts:4972
Latest posts:

How to output a map from a class with operator overloading
Since "first" is an Item you need an overload of the Item class. Look closely at the error message...

How to output a map from a class with operator overloading
[quote] i obviously have to overload the << operator[/quote] Where did you overload the operator<< f...

cast a value
In C++ prefer the C++ style casts (static_cast, dynamic_cast, etc) over the C style cast int(lol). T...

Trying to input a file and storing the data in a vector
It would help if you posted a complete program and the contents of your input file. Have you tried ...

Trying to input a file and storing the data in a vector
First why the Ingredients*? Why not just an Ingredient? Second where are you allocating/de-allocati...