First try, long time since last C++ coding...