|
-
Nov 11th, 2002, 01:22 PM
#1
Thread Starter
Member
Help! Redefinition Error
I have two classes in my project, both of which use the same header file which contains this struct definition:
struct vertex3D {
float X;
float Y;
float Z;
};
When I try to compile the project I get a 'struct' type redefinition error.
How can I include the above header in both classes without getting this error?
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
|