Hello all,
I have a question about how organize my code. I looked the examples and I see that all the code is in file *.h
Is that for a particular reason?
I have another question. I was doing my code with class defining the *.h and the implementation in files *.cpp
I want to use edge in these classes but if I include edgemain.h when I build says:
"Error LNK2005 ............ already defined in myProgram.obj"
If I don't include the edgemain.h it says
"error C2065: 'E3DSurface' : undeclared identifier"
Could you help me?
Thanks a lot.
I have a question about how organize my code. I looked the examples and I see that all the code is in file *.h
Is that for a particular reason?
I have another question. I was doing my code with class defining the *.h and the implementation in files *.cpp
I want to use edge in these classes but if I include edgemain.h when I build says:
"Error LNK2005 ............ already defined in myProgram.obj"
If I don't include the edgemain.h it says
"error C2065: 'E3DSurface' : undeclared identifier"
Could you help me?
Thanks a lot.