As already mentioned, use of proper .h / .cpp files provides useful modularity. See My Port #5 in this Thread.