Help with getline

Hello guys
My problem is everything is working but only my char array is not outputting for some reason. Please help Thanks.

Last edited on
Your retdes() function returns 30th character from productName c-string.
well when I remove the number I get an error how would I get the whole array to display?>
make it return char* or, better const char*
Topic archived. No new replies allowed.