Time:09-26
CodePudding user response:
void main ()
int main ()
no void main () this kind of writing, Is int main ()
no void main ()
handwriting... Can good scribble, format the first?
there is a problem: In general this is complete the application problem of preliminary examination paper, this problem must be given the title of the current program, as well as a brief problem solving methods, If even write what all don't know, is that as long as you don't compiler error can literally fill in? (seems to be yes) So, you will give us at least, what is this program implementation, rather than like upstairs or bloggers to pursue some compilers different problems that cause the main function of these details!
The class Myclass {Private: Int * p; Void the print () {Cout<* p} Public: Myclass () {P=nullptr. } Void the display () {Cout<" 3 "& lt; } }; Int main () {Myclass a; Myclass * pay=a; Pay - & gt; The display (); Pay=nullptr; return 0; }
Page link:https//www.codepudding.com/Backend/31568.html