jetbrains-academy / CppBasics

Learn fundamentals of C/C++ while developing simple arcade game
MIT License
4 stars 1 forks source link

Typo in task. Memory Management/Type casts and C style Strings/Choose Valid Type Casts #19

Closed boruno closed 12 months ago

boruno commented 1 year ago

Option (1) is stated as correct, while it cannot be compiled due to typo in cast signature: static_const<double>(a) instead of static_cast<double>(a)

Possible fix: 1) Make (1) incorrect and predict learner to spot the mistake 2) Fix the typo