WoahJamalChill
@WoahJamalChill
hi guys, have you wondered how to slowprint in c++? well I have a super simple solution that anybody can do... it takes less than 5 min to code and yo
C++
JasonLiu19 using namespace std;
using namespace std::this_thread;
using Time = chrono::milliseconds;
ewww nooo
also this is better:
#include
#include
#include
#include
void sp(std::string str, int delay){
for(auto v:str){
std::cout << v << std::flush;
std::thisthread::sleepfor(std::chrono::milliseconds(delay));
}
}
It allows you to customize how many milliseconds you want.2 years ago
in this post i will show you how to change the font or background color in c++, there is a lot of questions around the internet asking how to change i
C++
Bookie0 this post i will show you how to change the font or background color in c++
you said background color, there's only colors of the text here..
Also there are more colors here ;)2 years ago