*** Break *** segmentation violation when i run for loop using ifstream

So I don’t see any isue with your code (BTW, please read posting code)