+ 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

9th Sep 2017, 11:55 AM
R V
R V - avatar
2 Answers
+ 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.
9th Sep 2017, 12:35 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
thanks hatsy but I edited my question for better understanding. my apologies.
9th Sep 2017, 9:10 PM
R V
R V - avatar