Yes, SmallObj.cpp is neccessary.
I heavily use the functor object, and do not have issue compiling SmallObj. Are you using the late release? I am fairly certain I am - I hope we did not break anything.
Unexpected EoF usually means there's a missing }
Please double check that the problem lies within SmallObj.cpp, and then try dl'ing the late release again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-11-08
Be confident that the code is correct and I am simply including the library incorrectly. I am still new to VC7.
Do I simply do a Project|Add Existing Item
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it still necessary to include the SmallObj.cpp file in a VC7 project to use functors? If so how can error C1010 ( unexpected EOF ) be avoided.
Yes, SmallObj.cpp is neccessary.
I heavily use the functor object, and do not have issue compiling SmallObj. Are you using the late release? I am fairly certain I am - I hope we did not break anything.
Unexpected EoF usually means there's a missing }
Please double check that the problem lies within SmallObj.cpp, and then try dl'ing the late release again.
Be confident that the code is correct and I am simply including the library incorrectly. I am still new to VC7.
Do I simply do a Project|Add Existing Item