Menu

Functor Issues

Anonymous
2002-11-06
2002-11-08
  • Anonymous

    Anonymous - 2002-11-06

    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.

     
    • Shannon Glenn Barber

      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.

       
    • Anonymous

      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

       

Log in to post a comment.