Example Code on Home page
Brought to you by:
azhrarn,
davidhallas
Hi!
I was trying to compile the example code on the web page http://unitpp.sourceforge.net/ but I wasn't able to compile it directly with GCC version 4.5.0. I modified the example a little and this did compile and work:
#include <unit++.h>
using namespace unitpp;
Finally, I ran the command:
g++ -o test test.cpp -lunit++