This question already has an answer here:
- When should I use typedef in C++? 12 answers
Can somebody tell me why 'typedef' is useful, can't we just do the same thing with any other data type? As far as I understand it's just changing the name of a data type.
Aucun commentaire:
Enregistrer un commentaire