It is a bit difficult to see what lines the error messages correspond to. Post the smallest and simplest program that you expect should compile but which demonstrates the errors (this means that you also show all the header inclusions). Ensure that you format the code and post it as plain text within [code][/code] bbcode tags. If the line numbers provided by the forum software do not match up with the line numbers in your editor, identify the corresponding line numbers.