Hi guys,I'm just wondering why my program crashes and gets a runtime error,I get no compiler messages and the program builds and runs it says program terminate called after throwing an instance of 'std:out_of_range_ on the terminal window
but I don't know why I get an out of range exception
sorry guys I forgot the less than sign my bad,problem solved if anyone still wants to tell me why the program actually runs and builds without the condition would be great as I thought it would generate a compiler error