+ 1
What are the default function that c++ compiler generate for the class?....
[edited]which default function have been generated by compiler and in which circumstances that function could not be generated for c++ class
2 Respostas
+ 10
Well, if there is such a function, it would be main(), such that the main function is declared by your compiler, which is then defined by the programmer. If your compiler cannot "generate" (or a better wording would be "does not contain") main() declaration, this means your compiler is faulty.
+ 1
thanks hatsy but I edited my question for better understanding. my apologies.