jetbrains-academy / CppBasics

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

Most of my code was reset. Warm Up/Moving On/Limits of Possible #15

Open edutools-service opened 1 year ago

edutools-service commented 1 year ago

It does not compile because some variables were missing. For some reason, the code I wrote to complete the tasks before this one was reset. C++Basics/WarmUp/MovingOn/task/src/collision.cpp:6:24: error: ‘dx’ was not declared in this scope 6 | return (float)sqrt(dx dx + dy dy); | ^~

multiple like that