Показать сообщение отдельно

  #4  
Старый 21.08.2020, 20:34
Cake_
Участник форума
Регистрация: 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
 
Ответить с цитированием