Greetings. This one has me stumped. So it's probably something obvious! I am trying to overload the input operator using a friend function. I have managed to trim my program down to the bare minimum. I think the code pretty much speaks for itself. The code below compiles OK but when I run it I get the following output in my console window. It doesn't let me input the point.
Process returned -1073741819 (0xC0000005) execution time : 0.120 s