Visual Studio Code – c++ typewriter effect delay issues?
I have created this code to create a typewriter console effect: void fastType(const std::string& text, int delay) { for (char c : text) { std::cout << c; std::this_thread::sleep_for(std::chrono::nanoseconds(delay)); } } void fastType(const std::string& text, int delay = 2); Example usage:…