Help with getline
| rohanshah1 (21) |
|
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
|
| MiiNiPaa (232) |
|
|
Your retdes() function returns 30th character from productName c-string.
|
|
|
| rohanshah1 (21) |
|
|
well when I remove the number I get an error how would I get the whole array to display?>
|
|
|
| MiiNiPaa (232) |
|
make it return char* or, better const char*
|
|
|