C/C++ Beginner Example