Click here to Skip to main content
15,899,026 members

Comments by diego14567 (Top 35 by date)

diego14567 9-Nov-13 17:01pm View    
thanks i was actually missing the parentheses in the acessor
diego14567 9-Nov-13 15:48pm View    
vs 12 not sure why that error keeps happening everytime i uncomment that code
diego14567 9-Nov-13 15:44pm View    
yes theres the include from the header file
diego14567 9-Nov-13 15:32pm View    
so inside pointing there is a method called exampleMethod

int exampleMethod(){
return value;
}

value is just a instance field with a value passed in from the constructor

Pointing(int n){
value = n;
}
diego14567 9-Nov-13 15:24pm View    
the error says Pointing::exampleMethod missing argument list use &Pointing::exampleMethod to create a pointer to member