Scanf this function may be unsafe. Scanf c++. scanf библиотека.