|
-
February 24th, 2009, 11:51 AM
#11
Re: Storing Objects in an Array
 Originally Posted by laserlight
you should #include <string>, not <string.h> since you are using std::string instead of the string functions inherited from C (in which case you should #include <cstring>). Also, you should remove the using directive at file scope (using namespace std; ) from the header file.
I know, I just hadnt got around to updating the files yet (but thanks for reminding me)
Dave.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|