dimanche 22 février 2015

why we only need to declare in the header file for default parameter?


For default parameter in the method, we only need to declare it in the header file, I want to know why we don't need to specify it in the implementation as well?


method1(int i, int j=2)




Aucun commentaire:

Enregistrer un commentaire