It would be helpful if you could show us the whole of those linker errors - especially the part that would tell us which symbols were unresolved!
I'm guessing one of them is array, which I don't see defined anywhere in your code.
What is System::String? What header file is it defined in? Any particular reason why you're not using the STL string class?
What is the purpose of the ^ symbols in the definition of main? That's not a C++ construct I'm familiar with - is it some kind of platform-specific extension?