mercredi 22 février 2017

Is it safe to use cstdarg.h?

cstd.h can be used for having variable number of arguments in c++.

Let's go step by step. After the function is called, the arguments are pushed into stack in order.

If i give increadibly large number of arguments stackoverflows and the pc crashes.

Is this correct? If it is, isn't it unsafe for anyone to use cstdarg?

Aucun commentaire:

Enregistrer un commentaire