|
-
August 6th, 2012, 12:05 PM
#1
vectors
I have got the following in a header file for a class:
#include <vector>
#include <math.h>
In the class description, I have the following protected member:
vector<Point2D> samples;
Point2D is defined as a class
during compile time I get lots of errors (C2143, C4430 and C2238)
Any ideas?
-
August 6th, 2012, 02:22 PM
#2
Re: vectors
Sure but since my crystal ball fails to retrieve your (obviously not C#) code you have to look it up here http://msdn.microsoft.com/en-us/libr...x43k7(v=vs.80)
-
August 10th, 2012, 11:30 PM
#3
Re: vectors
[ Moved Thread from C# Programming to C++ Forum ]
Best Regards,
BioPhysEngr
http://blog.biophysengr.net
--
All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.
-
August 11th, 2012, 06:19 AM
#4
Re: vectors
 Originally Posted by Complete
during compile time I get lots of errors (C2143, C4430 and C2238)
Any ideas?
How about posting
1) The code that doesn't compile and
2) The actual error message. This is the Non-Visual C++ forum, and C2143, etc. means nothing here. Post the actual error messages.
Regards,
Paul McKenzie
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
|