working main.cpp
It comiles successfully!