In devC++ with the same code m getting an error
79 13 D:\Desktop\Coding Blocks\Strings\intro.cpp [Error] range-based ‘for’ loops are not allowed in C++98 mode
For each loop not working
look at this
2nd answer looks more appropriate try that
thanks it worked. my code started working
if doubt is resolved don’t forgot to mark it as resolved
1 Like