Hello. I am trying to print the two strings but it seemed to have an error. I am new in learning structures which is why I am having difficulty in testing. Any help is appreciated!
On line 21, you are not initializing your processor array. You are assigning to the third element (index 2) of the processor array, which is out of bounds of the array.
Unfortunately, when you put a C-style array into a struct/class like that, it limits the ways you can initialize it, because it's already initialized on line 19 when you created the object itself.
Here is one way you can initialize the array. Otherwise, you have to assign to each array index individually (processor[0] and processor[1]).