[Solved] VS2017 “non-standard syntax; use ‘&’ to create a pointer to member ” [closed]
On the line cout << “BySimpson:” << MyInt.BySimpson << endl << endl; You probably meant to make a call to BySimpson but your forgot the () cout << “BySimpson:” << MyInt.BySimpson() << endl << endl; The reason you get this misleading error is because pre ISO standarization MyInt.BySimpson would actually mean you wanted the address … Read more