+ 3
what causes [-fpermissive] error in c++ in an example like Customer::Customer () {
cannot compile due to that error .please help
2 Answers
+ 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.