Open eligantRU opened 5 years ago
[x] stoi может выбросить исключение - можешь использовать catch и std::exception::what()
[x] Программа не должна выводить 0 в случае неверных входных данных
[x] Обычно проверку на число аргументов делают в main
[x] Применить boost::optional или std::optional
[x] Сделать Push
[ ] Тесты не запускаются
[x] Boost.Tests
[x] /W4
[ ] Пустая строка в cpp'шниках
[ ] Нельзя подключать cpp'шники
[ ] А если сто?
(argc < 2)
[ ] Обосновать вынос разворота байта вне try-catch
[ ] Postbuild Event для запуска тестов
[ ] Тесты должны в том числе проверять крайние значения
[ ] В примерах тесты были не такие
[ ] Не компилируется
[x] Разобраться как работают исключения, либо не использовать их до соответствующей лекции
[x] Coding Convention: используется UpperCamelCase
[x] Боремся с exit: не следует ложить программу в её глубинах
[x] Комментарии в программе(ещё и на русском)
[x] res - resource, not a result
[ ] Тесты должны быть автоматическими: они сами должны проверять, верно ли отработала программа