Skip to content

two-dimensional-array/buffered_print

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Buffered Print

Implemention of buffered printing messages in stdout.

About project

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.

About

Implemention of buffered printing messages in stdout.

Topics

Resources

Stars

Watchers

Forks