#include <string>
#include <iostream>
using namespace std;
int main() {
 String^ a = L"One two three";
 array<wchar_t>^ s = {L" "};
 array<String^>^ m = a->Split(sk);
 for each (String^ t in m)
   cout<<t<<" ";
 return 0;
}

How to fix this code? I think i need libraries but i don't know wich.

PS: I found this code in book (from line 5 to 9).

Sorry for bad english.