When trying to display a string in an array it says << won't work so how can i fix this i;ve been told before ending a string in .c_str makes it write but this says that a . wont work when i delete the . it gives an error so what do i do
cout << array[0] << endl;
another thing when i ask for a string it says >> is an unknown operator