Given this text:
include
include
int main (void) { string text = get_string("Text: "); char num[] = text; }
When this is run, it gives the error as stated in the heading of this question
I am trying to assign a char to each array, (ex: num1 = h, num[2] = e, and so on, when the user wrote "hello" in text)
Please help