How to reduce refresh rate of screen in a c++ snake game?
I started learning c++ for a while and I made a c++ snake game. However, the screen refreshes too frequently, forming a dizzy gaming experience. I wanna reduce refresh rate of screen and make the game less dizzy and more playable, so how to achieve this in VS Code and GCC compiler?