error C2059: syntax error :"->" and ";" 0.o : When trying to compile this program,I got these errors:
---------------------------------------------------------------------

    1>e:\workspace_for_c\02-3\02-3\02-3\02-3.cpp(83): error C2059: syntax       error:“new”
    1>e:\workspace_for_c\02-3\02-3\02-3\02-3.cpp(84): error C2059: syntax error:“->”
    1>e:\workspace_for_c\02-3\02-3\02-3\02-3.cpp(89): error C2059: syntax error:“;”
    1>e:\workspace_for_c\02-3\02-3\02-3\02-3.cpp(90): error C2059: syntax error:“->”
    1>e:\workspace_for_c\02-3\02-3\02-3\02-3.cpp(105): error C2059: syntax error:“;”
---------------------------------------------------------------------------------

My codes:
[enter image description here][1]

[enter image description here][2]

Thanks!

Note:I am using Windows 7 with VS 2010


  [1]: https://i.stack.imgur.com/cosnz.jpg
  [2]: https://i.stack.imgur.com/gfYuT.jpg