mercredi 29 juin 2016

Why are there so many ways to initialize variables in C++?

int a=3;
int b(3);
int c{3}; 

Why are there so many ways to initialize variables in C++, is there any difference in these methods?

Aucun commentaire:

Enregistrer un commentaire