> char array[size];
You can't declare arrays with a size you only get to find out about at run time.

> for(int i=0;i<=100;i++)
Woah, where did the size parameter go ?
What if your string is longer than 100 characters?
I thought std::string had a .length function anyway.

> char** in = (char**) input;
Consider casting in C++ as a sign you're about to do something wrong.
This is no exception, this is wrong.

> set_array
Perhaps a description of what you want this function to do would help us figure out what sort of parameters you should be passing to it, and the result you expect.

> goto start;
Ugh, use a while loop man.