January 2013 Entries

C++ Unit Testing with GoogleTest

Unit testing is critical for quality code – they help you: find problems early facilitate change by avoiding breakage of other functionality simplify integration via a bottom up approach document the code maintain good design – testable code is good code: single intent, clear retval etc Google has created a unit testing framework for C++ : http://code.google.com/p/go... I downloaded Google Test from http://code.google.com/p/go... and built the solution under the msvc folder ......

Posted On Monday, January 28, 2013 12:24 PM | Comments (0)

3D Programming Concepts

2 years ago I built & presented a course on XNA 4: http://www.e4d.co.il/Events... XNA may be dead & buried, but the 3D programming concepts are tech-stack-agnostic – They apply equally well to DirectX. I’ve extracted this subsection into a set of slides: enjoy ......

Posted On Saturday, January 12, 2013 4:44 AM | Comments (1)

I didnt know how to do that in C++ !

I've been reading through the C++ Cookbook (an oldie but a goodie – I assume that 99% of C++ out there is not modern C++, and modern C++ does not mean you don’t need to be able to grok templates, pointers etc – you may need to port something, or use a 3rd party lib) Anyway, reading through stream manipulators, from my understanding this is how you pass a generic 'delegate' into a constructor & invoke it: template<typename T, typename C> class ManipInfra { public: ManipInfra (basic_ostream<C>& ......

Posted On Thursday, January 10, 2013 6:31 AM | Comments (3)

Copyright © JoshReuben

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski