User profile: jlb

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

length of the array of pointers, using strlen in C
The strlen() function gives you the size of the string. If you want to know how many strings are in...

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 ...