A header file, and two CPP
CodePudding user response:
Different compiler problem;
In the user. Adding extern CPP void disp (... Try)
CodePudding user response:
You put the default parameters in the h file to define inside see
Doubt is no default parameters on the part of the reason
CodePudding user response:
H file
Void disp (int x=1, int y=1, int z=1);
CodePudding user response:
.h statement,
CPP implementation,
Include the header file
CodePudding user response: