How do you take a string full of letters and spaces and put them all into an array? I'm thinking pointers, but I'm not sure.
For example:
string random = "hello everyone";
int array[50];
//how would i put the contents of that string into array?
Any help would be appreciated. Thanks.