quote:Original post by marijnh
Can anyone recommend some source code that is an example of good c++ coding style?
At the risk of being accused of egotism, here are the source files to my Win32 Window Wrapper article (fairly small, focused mini-project/component; uses STL; good [IMO] and consistent coding style... can''t remember how well commented it is ):
http://www.uncg.edu/~obsonaiy/src/window.h
http://www.uncg.edu/~obsonaiy/src/window.cpp
http://www.uncg.edu/~obsonaiy/src/rendercontext.h
There''s also OGRE, which is very well designed and has a solid set of code conventions.
The other examples that readily spring to mind are fairly large, and thus inappropriate.