+ 3
what causes [-fpermissive] error in c++ in an example like Customer::Customer () {
cannot compile due to that error .please help
2 Antworten
+ 4
Show me the complete code, and Ill try to help. Usually, this error is due to something above the statement shown with the error description...
+ 3
It sounds like the Customer class has a method that can’t be accessed by the program. If it’s a multi-file program, it may not be linked properly. If it’s a single file, it may be a private method that can’t be accessed.