
21.08.2020, 20:34
|
|
Участник форума
Регистрация: 04.04.2017
Сообщений: 263
С нами:
4793630
Репутация:
133
|
|
Сообщение от _=Gigant=_
i have functions like
void something(bool bEnable)
{
}
it works fine
but I am curious is it better to use bool* bEnable ?
in c++ should avoid pointers if it possible (that's c / unsafe) in other cases u should use refs
|
|
|