Replace pragma with ifndef (more compatible)
Define some types in global
spaces -> tabs
Name .C files .cpp
Code style
Change types in test