New to programming: How to call a structure’s variables in a function and then update them? (C++) [closed]
I’ve created a function below getPoint() that is supposed to ask the user for two points so I could late calculate the slope of them. This function is supposed to call for two variables in struct …