Anitha Boyapati <anithab@xxxxxxxxxxx> writes: > [I am trying this example with gcc version 3.2.3 20030502.The example > is related to c++ Programming language by Stroustrup] 3.2.3 is old, and the C++ parser was completely rewritten in 3.4. Try a newer compiler. Ian