#include<bits/stdc++.h>
using namespace std;
#define BLUE    "\033[34m"
#define GREEN   "\033[32m"
#define RESET   "\033[0m"
void slowsay(const string& text, const char*color, int ms=70){
  cout<<color;
  for(char c:text){
    cout<<c<<flush;
    this_thread::sleep_for(chrono::milliseconds(ms));
  }
  cout<<RESET<<endl;
}
int main(){
  slowsay("The bluetooth device is ready to pair.", BLUE, 90);
  slowsay("The bluetooth device is connecting up successfully.", GREEN, 80)
    return 0;
}

第一次学新知识肯定是要先用到豆包的,不然就不会变成真正的马牛逼程序员