OpenGL + OOP = pain

Hey, i have been coding in C for a while now and i just started to pick up the whole OOP C++ thing about a month ago. So i am working on this team and i just dont feel that i am writing good reusable classes for opengl. It also takes alot more time to plan which isn’t a big thing for me just how to set things up when i am used to struct’s and func’s. So if you have any url’s, tips or anything else to help me w/ my OOP blues please post! Thanx

  • Lurking

OOP requires a completely different mind set to that of structured programming, and it takes a long time to acquire. I recommend:

The C++ Programming Language
by Bjarne Stroustrup
Addison Wesley Longman, Inc., 1991
ISBN: 0-201-53992-6

Dr Stroustrup created C++, and his comments and insights into its use are excellent. He also has a website:
http://www.research.att.com/~bs/C++.html

HTH G.