can't figure out simple program

This is a discussion on can't figure out simple program within the C++ Programming forums, part of the General Programming Boards category; hi, can someone please tell me why this won't compile? errors are improper typedef 'test', statment mising ; and expression ...