Class bufPrint is implement buffered printing messages in stdout.
Variable kBufferSize is contain size of buffer.
This class is located in files buf_print.hpp and buf_print.cpp.
The test program shows the advantage of buffered print over common print.
And this program is print difference of working time buffered print with common print in seconds.
Test program is located in file main.cpp.
Exmaple of output this program.
Time printf: 0.006571
Time bufPrint: 0.005589
bufPrint is faster printf on 0.000982 seconds.