Bad access code

Really having hard time understanding this error. I have multiple mains and headers so it would be too long to paste in here. For starters I would like to understand what this error message is telling me. Could someone explain it alttle from the image below.

Here is the line of code that the error message is on.

if (,_mode | ios_base::in))

Here is the error message pertaining to the above line of code.

Thread 1:EXC_BAD_ACCESS(code=1,

Last edited on
Topic archived. No new replies allowed.