simple C++ Problem :)
Guys I am trying to compile this problem in g++..but is giving all kind of Errors...there is soem problem with the line cin.getline(arr,max)
But I am not able to understand that what is wrong.. Code:
|
The problem is actually this part:
Code:
int max=100; Code:
const int max=100; |
Thansk alot...yes the problem was Not putting CONST before int ..:D thanks alot :)
|
All times are GMT -5. The time now is 03:02 AM. |